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
|
||||
|
|
@ -98,6 +98,8 @@ ActiveRecord::Schema.define(version: 20170213145807) do
|
|||
t.text "description"
|
||||
t.integer "registration_limit", default: 0
|
||||
t.string "picture"
|
||||
t.integer "start_hour", default: 9
|
||||
t.integer "end_hour", default: 20
|
||||
end
|
||||
|
||||
create_table "conferences_questions", id: false, force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue