summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorStephen Peasley <s@stephenpeasley.com>2015-08-01 11:51:35 -0600
committerStephen Peasley <s@stephenpeasley.com>2015-08-01 11:51:35 -0600
commit0bbae07354b470bb25dea033b4e5f7e3c643a178 (patch)
treeed754dac0cff34282bce03f016e37e7fb55703b3 /db/schema.rb
parent4a7161653f14adab5fb22d22808cced319afcea9 (diff)
Create user profile upon user creation
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 440df34..03a3d7b 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -42,11 +42,11 @@ ActiveRecord::Schema.define(version: 20150616021904) do
end
create_table "profiles", force: :cascade do |t|
- t.uuid "user_id", null: false
+ t.uuid "user_id", null: false
t.boolean "gender"
- t.integer "social_tolerance"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
+ t.integer "social_tolerance", default: 0
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
add_index "profiles", ["user_id"], name: "index_profiles_on_user_id", using: :btree