From f8a20099fa1e526c678b0aeacafde50e312e1678 Mon Sep 17 00:00:00 2001 From: nilsding Date: Mon, 12 Jan 2015 22:44:35 +0100 Subject: [PATCH] forgot to add the schema file, argh --- db/schema.rb | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index f7c86d6d..455a6073 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150103200732) do +ActiveRecord::Schema.define(version: 20150112210754) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -38,6 +38,20 @@ ActiveRecord::Schema.define(version: 20150103200732) do add_index "comments", ["user_id", "created_at"], name: "index_comments_on_user_id_and_created_at", using: :btree + create_table "groups", force: true do |t| + t.integer "user_id", null: false + t.integer "target_id", null: false + t.string "name" + t.string "display_name" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "groups", ["name"], name: "index_groups_on_name", using: :btree + add_index "groups", ["target_id"], name: "index_groups_on_target_id", using: :btree + add_index "groups", ["user_id", "name"], name: "index_groups_on_user_id_and_name", unique: true, using: :btree + add_index "groups", ["user_id"], name: "index_groups_on_user_id", using: :btree + create_table "inboxes", force: true do |t| t.integer "user_id" t.integer "question_id" @@ -173,6 +187,7 @@ ActiveRecord::Schema.define(version: 20150103200732) do t.boolean "privacy_allow_public_timeline", default: true t.boolean "privacy_allow_stranger_answers", default: true t.boolean "privacy_show_in_search", default: true + t.boolean "banned", default: false end add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree