forked from External/greenlight
17 lines
361 B
Ruby
17 lines
361 B
Ruby
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
|
|
t.string :username
|
|
t.string :email
|
|
t.string :image
|
|
t.string :password_digest, index: { unique: true }
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|