redo rooms page

This commit is contained in:
Josh
2018-05-31 15:04:18 -04:00
parent 9e5250353b
commit ede80075c1
27 changed files with 258 additions and 154 deletions

View File

@ -1,6 +1,7 @@
class CreateUsers < ActiveRecord::Migration[5.0]
def change
create_table :users do |t|
t.belongs_to :room, index: true
t.string :provider
t.string :uid
t.string :name

View File

@ -5,6 +5,7 @@ class CreateRooms < ActiveRecord::Migration[5.0]
t.string :name, index: true
t.string :uid, index: true
t.string :bbb_id, index: true
t.string :icon, index: true
t.timestamps
end