forked from External/greenlight
initial commit
This commit is contained in:
10
db/migrate/20180504131705_create_rooms.rb
Normal file
10
db/migrate/20180504131705_create_rooms.rb
Normal file
@ -0,0 +1,10 @@
|
||||
class CreateRooms < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :rooms do |t|
|
||||
t.belongs_to :user, index: true
|
||||
t.string :uid, index: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user