fix migration to remove original stupid index hopefully
This commit is contained in:
parent
3d0f2130da
commit
a6b8346c18
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue