forked from External/greenlight
restructure app
This commit is contained in:
@ -2,7 +2,9 @@ class CreateRooms < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :rooms do |t|
|
||||
t.belongs_to :user, index: true
|
||||
t.string :name, index: true
|
||||
t.string :uid, index: true
|
||||
t.string :bbb_id, index: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
@ -1,11 +0,0 @@
|
||||
class CreateMeetings < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :meetings do |t|
|
||||
t.belongs_to :room, index: true
|
||||
t.string :name, index: true
|
||||
t.string :uid, index: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user