11 lines
265 B
11 lines
265 B
2 years ago
|
class AddDeactivationsTable < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :location_deactivation_periods do |t|
|
||
|
t.datetime :deactivation_date
|
||
|
t.datetime :reactivation_date
|
||
|
t.belongs_to :location
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|