Do not touch the schema_migrations table in migrations
... this breaks the Rails 5 upgrade, and it's actually no longer needed. New installations will have the right size anyway, and even if some older installations miss the migration by not updating for 2 years, it still doesn't matter since there is no risk that we will ever have emojis in our migration filenames.
This commit is contained in:
parent
b203862ca3
commit
1f272f5306
1 changed files with 0 additions and 3 deletions
|
|
@ -86,9 +86,6 @@ class SetMysqlToUnicodeMb4 < ActiveRecord::Migration
|
|||
remove_index 'rails_admin_histories', :name => 'index_rails_admin_histories'
|
||||
add_index 'rails_admin_histories', ["item", "table", "month", "year"], :name => 'index_rails_admin_histories', length: {"table"=>188}, :using => :btree
|
||||
|
||||
remove_index 'schema_migrations', :name => 'unique_schema_migrations'
|
||||
add_index 'schema_migrations', ["version"], :name => 'unique_schema_migrations', length: {"version"=>191}, :using => :btree
|
||||
|
||||
remove_index 'services', :name => 'index_services_on_type_and_uid'
|
||||
add_index 'services', ["type", "uid"], :name => 'index_services_on_type_and_uid', length: {"type"=>64, "uid"=>127}, :using => :btree
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue