Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDennis Schubert <mail@dennis-schubert.de>2017-08-07 16:09:48 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2017-08-12 16:39:26 +0300
commit1f272f530681d83b3ec8500656a493afe601115d (patch)
tree42794baad298e62775122d66560f9018dfc0bb89 /db
parentb203862ca3e748edb3a19446a8433568ea223aff (diff)
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.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20150106050733_set_mysql_to_unicode_mb4.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/db/migrate/20150106050733_set_mysql_to_unicode_mb4.rb b/db/migrate/20150106050733_set_mysql_to_unicode_mb4.rb
index 37dd9373e..832742889 100644
--- a/db/migrate/20150106050733_set_mysql_to_unicode_mb4.rb
+++ b/db/migrate/20150106050733_set_mysql_to_unicode_mb4.rb
@@ -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