From 1526620c334aaef11b9963051684710f1fe15881 Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Mon, 25 Apr 2016 21:46:09 -0400 Subject: [PATCH] Update schema.rb with new test tables I thought we handled this in https://github.com/airblade/paper_trail/pull/771 but I guess not? --- test/dummy/db/schema.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index f0a5a8d2..a7c7015d 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -46,6 +46,18 @@ ActiveRecord::Schema.define(version: 20110208155312) do t.datetime "updated_at" end + create_table "bar_habtms", force: :cascade do |t| + t.string "name" + end + + create_table "bar_habtms_foo_habtms", id: false, force: :cascade do |t| + t.integer "foo_habtm_id" + t.integer "bar_habtm_id" + end + + add_index "bar_habtms_foo_habtms", ["bar_habtm_id"], name: "index_bar_habtms_foo_habtms_on_bar_habtm_id" + add_index "bar_habtms_foo_habtms", ["foo_habtm_id"], name: "index_bar_habtms_foo_habtms_on_foo_habtm_id" + create_table "books", force: :cascade do |t| t.string "title" end @@ -90,6 +102,10 @@ ActiveRecord::Schema.define(version: 20110208155312) do t.string "name" end + create_table "foo_habtms", force: :cascade do |t| + t.string "name" + end + create_table "fruits", force: :cascade do |t| t.string "name" t.string "color"