add ability to configure terms and conditions

This commit is contained in:
Josh
2018-06-21 16:17:18 -04:00
parent 2dc033ee20
commit c16197670b
12 changed files with 67 additions and 10 deletions

View File

@ -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

View File

@ -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