test/dummy/db/schema.rb in poly_belongs_to-0.1.4 vs test/dummy/db/schema.rb in poly_belongs_to-0.1.5
- old
+ new
@@ -9,11 +9,11 @@
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20150216092519) do
+ActiveRecord::Schema.define(version: 20150220230146) do
create_table "addresses", force: true do |t|
t.integer "addressable_id"
t.string "addressable_type"
t.string "content"
@@ -30,10 +30,19 @@
t.datetime "updated_at"
end
add_index "contacts", ["user_id"], name: "index_contacts_on_user_id"
+ create_table "geo_locations", force: true do |t|
+ t.integer "address_id"
+ t.string "content"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "geo_locations", ["address_id"], name: "index_geo_locations_on_address_id"
+
create_table "phones", force: true do |t|
t.integer "phoneable_id"
t.string "phoneable_type"
t.string "content"
t.datetime "created_at", null: false
@@ -59,9 +68,19 @@
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "profiles", ["profileable_id", "profileable_type"], name: "index_profiles_on_profileable_id_and_profileable_type"
+
+ create_table "squishies", force: true do |t|
+ t.string "content"
+ t.integer "squishable_id"
+ t.string "squishable_type"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "squishies", ["squishable_id", "squishable_type"], name: "index_squishies_on_squishable_id_and_squishable_type"
create_table "ssns", force: true do |t|
t.integer "user_id"
t.string "content"
t.datetime "created_at"