Support forcing the order of rooms in the schedule
This commit is contained in:
parent
02f0d4a254
commit
a9d6faf1a3
6 changed files with 17 additions and 6 deletions
5
db/migrate/20200716181602_add_order_to_rooms.rb
Normal file
5
db/migrate/20200716181602_add_order_to_rooms.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddOrderToRooms < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :rooms, :order, :int
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2020_07_15_034647) do
|
||||
ActiveRecord::Schema.define(version: 2020_07_16_181602) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -408,6 +408,7 @@ ActiveRecord::Schema.define(version: 2020_07_15_034647) do
|
|||
t.integer "size"
|
||||
t.integer "venue_id", null: false
|
||||
t.text "url"
|
||||
t.integer "order"
|
||||
end
|
||||
|
||||
create_table "schedules", force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue