12 lines
322 B
Ruby
12 lines
322 B
Ruby
|
|
class ChangeArrivalRegistrationsDateToDatetime < ActiveRecord::Migration
|
||
|
|
def up
|
||
|
|
change_column :registrations, :arrival, :datetime
|
||
|
|
change_column :registrations, :departure, :datetime
|
||
|
|
end
|
||
|
|
|
||
|
|
def down
|
||
|
|
change_column :registrations, :arrival, :date
|
||
|
|
change_column :registrations, :departure, :date
|
||
|
|
end
|
||
|
|
end
|