From ca3ae40e29e7a9cbeb619fde9f9c9126e03c71a2 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Thu, 27 Feb 2014 11:31:39 -0600 Subject: [PATCH] rename stories.short_id index to avoid conflict in non-mysql dbs this was never added from a migration anyway, so this is just for a rake:schema:load --- db/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index 9e23ec1..b517b7a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -107,7 +107,7 @@ ActiveRecord::Schema.define(version: 20140221164400) do add_index "stories", ["hotness"], name: "hotness_idx", using: :btree add_index "stories", ["is_expired", "is_moderated"], name: "is_idxes", using: :btree - add_index "stories", ["short_id"], name: "short_id", unique: true, using: :btree + add_index "stories", ["short_id"], name: "unique_short_id", unique: true, using: :btree add_index "stories", ["url"], name: "url", length: {"url"=>191}, using: :btree create_table "tag_filters", force: true do |t|