forgot to add the schema file, argh
This commit is contained in:
parent
1bb369aa7d
commit
f8a20099fa
17
db/schema.rb
17
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
|
||||
|
|
Loading…
Reference in New Issue