osem-fcy/db/migrate/20160815094215_add_times_to_conferences.rb
Ana b80aff3cce Add times to Conference
Add start hour and end hour to conference to be able to make the schedule times changeable
2017-02-22 09:09:29 +01:00

6 lines
202 B
Ruby

class AddTimesToConferences < ActiveRecord::Migration
def change
add_column :conferences, :start_hour, :integer, default: 9
add_column :conferences, :end_hour, :integer, default: 20
end
end