Commit 34b8a866ccb17c06e8647a676c7e9e247e966328
1 parent
bfbd548c
Resets schema
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Showing
1 changed file
with
2 additions
and
11 deletions
Show diff stats
db/schema.rb
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | # |
12 | 12 | # It's strongly recommended that you check this file into your version control system. |
13 | 13 | |
14 | -ActiveRecord::Schema.define(version: 20160810132802) do | |
14 | +ActiveRecord::Schema.define(version: 20160608123748) do | |
15 | 15 | |
16 | 16 | # These are extensions that must be enabled in order to support this database |
17 | 17 | enable_extension "plpgsql" |
... | ... | @@ -278,12 +278,10 @@ ActiveRecord::Schema.define(version: 20160810132802) do |
278 | 278 | create_table "circles", force: :cascade do |t| |
279 | 279 | t.string "name" |
280 | 280 | t.integer "person_id" |
281 | - t.string "profile_type", null: false | |
282 | - t.string "person_type", default: "Person" | |
281 | + t.string "profile_type", null: false | |
283 | 282 | end |
284 | 283 | |
285 | 284 | add_index "circles", ["person_id", "name"], name: "circles_composite_key_index", unique: true, using: :btree |
286 | - add_index "circles", ["person_id", "person_type"], name: "index_circles_on_person_id_and_person_type", using: :btree | |
287 | 285 | |
288 | 286 | create_table "comments", force: :cascade do |t| |
289 | 287 | t.string "title" |
... | ... | @@ -555,11 +553,6 @@ ActiveRecord::Schema.define(version: 20160810132802) do |
555 | 553 | t.datetime "updated_at" |
556 | 554 | end |
557 | 555 | |
558 | - create_table "private_scraps", force: :cascade do |t| | |
559 | - t.integer "person_id" | |
560 | - t.integer "scrap_id" | |
561 | - end | |
562 | - | |
563 | 556 | create_table "product_qualifiers", force: :cascade do |t| |
564 | 557 | t.integer "product_id" |
565 | 558 | t.integer "qualifier_id" |
... | ... | @@ -688,11 +681,9 @@ ActiveRecord::Schema.define(version: 20160810132802) do |
688 | 681 | t.integer "circle_id" |
689 | 682 | t.datetime "created_at" |
690 | 683 | t.datetime "updated_at" |
691 | - t.string "profile_type", default: "Profile" | |
692 | 684 | end |
693 | 685 | |
694 | 686 | add_index "profiles_circles", ["profile_id", "circle_id"], name: "profiles_circles_composite_key_index", unique: true, using: :btree |
695 | - add_index "profiles_circles", ["profile_id", "profile_type"], name: "index_profiles_circles_on_profile_id_and_profile_type", using: :btree | |
696 | 687 | |
697 | 688 | create_table "qualifier_certifiers", force: :cascade do |t| |
698 | 689 | t.integer "qualifier_id" | ... | ... |