test/dummy/db/schema.rb in poly_belongs_to-0.1.7 vs test/dummy/db/schema.rb in poly_belongs_to-0.1.8

- 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: 20150220230146) do +ActiveRecord::Schema.define(version: 20150301100722) do create_table "addresses", force: true do |t| t.integer "addressable_id" t.string "addressable_type" t.string "content" @@ -21,10 +21,19 @@ t.datetime "updated_at" end add_index "addresses", ["addressable_id", "addressable_type"], name: "index_addresses_on_addressable_id_and_addressable_type" + create_table "cars", force: true do |t| + t.integer "user_id" + t.string "content" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "cars", ["user_id"], name: "index_cars_on_user_id" + create_table "contacts", force: true do |t| t.integer "user_id" t.string "content" t.datetime "created_at" t.datetime "updated_at" @@ -96,9 +105,20 @@ t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "tags", ["user_id"], name: "index_tags_on_user_id" + + create_table "tires", force: true do |t| + t.integer "user_id" + t.integer "car_id" + t.string "content" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "tires", ["car_id"], name: "index_tires_on_car_id" + add_index "tires", ["user_id"], name: "index_tires_on_user_id" create_table "users", force: true do |t| t.string "content" t.datetime "created_at", null: false t.datetime "updated_at", null: false