fix migration to remove original stupid index hopefully

This commit is contained in:
Steve Coast 2008-05-03 14:45:15 +00:00
parent 3d0f2130da
commit a6b8346c18

View file

@ -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