mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
7000e63700
commit
b80aff3cce
5 changed files with 50 additions and 1 deletions
6
db/migrate/20160815094215_add_times_to_conferences.rb
Normal file
6
db/migrate/20160815094215_add_times_to_conferences.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue