diff --git a/db/schema.rb b/db/schema.rb index 8fc48bc..15f2b0f 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: 20160810132802) do +ActiveRecord::Schema.define(version: 20160608123748) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -278,12 +278,10 @@ ActiveRecord::Schema.define(version: 20160810132802) do create_table "circles", force: :cascade do |t| t.string "name" t.integer "person_id" - t.string "profile_type", null: false - t.string "person_type", default: "Person" + t.string "profile_type", null: false end add_index "circles", ["person_id", "name"], name: "circles_composite_key_index", unique: true, using: :btree - add_index "circles", ["person_id", "person_type"], name: "index_circles_on_person_id_and_person_type", using: :btree create_table "comments", force: :cascade do |t| t.string "title" @@ -555,11 +553,6 @@ ActiveRecord::Schema.define(version: 20160810132802) do t.datetime "updated_at" end - create_table "private_scraps", force: :cascade do |t| - t.integer "person_id" - t.integer "scrap_id" - end - create_table "product_qualifiers", force: :cascade do |t| t.integer "product_id" t.integer "qualifier_id" @@ -688,11 +681,9 @@ ActiveRecord::Schema.define(version: 20160810132802) do t.integer "circle_id" t.datetime "created_at" t.datetime "updated_at" - t.string "profile_type", default: "Profile" end add_index "profiles_circles", ["profile_id", "circle_id"], name: "profiles_circles_composite_key_index", unique: true, using: :btree - add_index "profiles_circles", ["profile_id", "profile_type"], name: "index_profiles_circles_on_profile_id_and_profile_type", using: :btree create_table "qualifier_certifiers", force: :cascade do |t| t.integer "qualifier_id" -- libgit2 0.21.2