Add times to Conference

Add start hour and end hour to conference to be able to make the schedule times changeable
This commit is contained in:
Ana 2016-08-15 12:26:47 +02:00 committed by Ana María Martínez Gómez
parent 7000e63700
commit b80aff3cce
5 changed files with 50 additions and 1 deletions

View file

@ -0,0 +1,6 @@
class AddTimesToConferences < ActiveRecord::Migration
def change
add_column :conferences, :start_hour, :integer, default: 9
add_column :conferences, :end_hour, :integer, default: 20
end
end