From: Steve Coast Date: Sat, 3 May 2008 14:45:15 +0000 (+0000) Subject: fix migration to remove original stupid index hopefully X-Git-Tag: live~7796 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a6b8346c18860dd8aa0b0a26a4e1ebdb171cd907?hp=3d0f2130dab94f33b0e73d9304c2fdc527fff106 fix migration to remove original stupid index hopefully --- diff --git a/db/migrate/012_add_user_preference_id.rb b/db/migrate/012_add_user_preference_id.rb index 9dee2378a..7357ca9b2 100644 --- a/db/migrate/012_add_user_preference_id.rb +++ b/db/migrate/012_add_user_preference_id.rb @@ -1,7 +1,7 @@ class AddUserPreferenceId < ActiveRecord::Migration def self.up + remove_index 'user_preferences', ['id', 'k'] add_column "user_preferences", "id", :bigint, :limit => 64, :null => false, :options => "AUTO_INCREMENT" - add_index "user_preferences", ["id"], :name => "user_preferences_id_idx" end