Add duration to workouts
This commit is contained in:
9
db/migrate/20230425062935_add_duration_to_workouts.rb
Normal file
9
db/migrate/20230425062935_add_duration_to_workouts.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration do
|
||||
change do
|
||||
alter_table :workouts do
|
||||
add_column :duration, :float, null: false
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user