From 75c1e88a8723876b8bc7e1f8df6b5bf5af435f5b Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Fri, 3 Mar 2017 12:03:56 -0500 Subject: [PATCH] Fix sqlite error in test schema ``` ActiveRecord::StatementInvalid: SQLite3::SQLException: object name reserved for internal use: sqlite_autoindex_custom_primary_key_records_1: CREATE UNIQUE INDEX "sqlite_autoindex_custom_primary_key_records_1" ON "custom_primary_key_records" ("uuid") ``` --- test/dummy/db/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index 0d16461f..521939ba 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -91,7 +91,7 @@ ActiveRecord::Schema.define(version: 20110208155312) do t.string "name" t.datetime "created_at" t.datetime "updated_at" - t.index ["uuid"], name: "sqlite_autoindex_custom_primary_key_records_1", unique: true + t.index ["uuid"], unique: true end create_table "customers", force: :cascade do |t|