forked from External/greenlight
add ability to configure terms and conditions
This commit is contained in:
@ -10,6 +10,7 @@ class CreateUsers < ActiveRecord::Migration[5.0]
|
||||
t.string :social_uid
|
||||
t.string :image
|
||||
t.string :password_digest, index: { unique: true }
|
||||
t.boolean :accepted_terms, default: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
@ -39,8 +39,9 @@ ActiveRecord::Schema.define(version: 20180504131705) do
|
||||
t.string "social_uid"
|
||||
t.string "image"
|
||||
t.string "password_digest"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.boolean "accepted_terms", default: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["password_digest"], name: "index_users_on_password_digest", unique: true
|
||||
t.index ["room_id"], name: "index_users_on_room_id"
|
||||
end
|
||||
|
Reference in New Issue
Block a user