Add the ability for Rooms to have a URL.
The URL is shown on the schedule and the event/proposal page. The URL is only when a user is logged in and registered.
This commit is contained in:
parent
636ad2cebd
commit
7d2135f851
9 changed files with 39 additions and 17 deletions
5
db/migrate/20200710215300_add_url_to_rooms.rb
Normal file
5
db/migrate/20200710215300_add_url_to_rooms.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddUrlToRooms < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :rooms, :url, :text
|
||||
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_03_31_214534) do
|
||||
ActiveRecord::Schema.define(version: 2020_07_10_215300) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -406,6 +406,7 @@ ActiveRecord::Schema.define(version: 2020_03_31_214534) do
|
|||
t.string "name", null: false
|
||||
t.integer "size"
|
||||
t.integer "venue_id", null: false
|
||||
t.text "url"
|
||||
end
|
||||
|
||||
create_table "schedules", force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue