diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-03-19 02:42:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-19 02:42:43 +0100 |
commit | a4dcaef53b97c58fd153de6f151b6fada40f3442 (patch) | |
tree | e9c0b360e421c31e4e873de03424fd9721dd7fee /db/migrate/20171130000000_add_embed_url_to_preview_cards.rb | |
parent | 5027abecd1e5e511064de75fb5248139e1c8fe23 (diff) |
Prepare Mastodon for zeitwerk autoloader (#15917)
* Prepare Mastodon for zeitwerk autoloader (Rails 6) Add inflections and rename/move a few classes. In particular, app/lib/exceptions.rb and app/lib/sanitize_config.rb were manually loaded while still in autoload paths. * Add inflection for Url → URL
Diffstat (limited to 'db/migrate/20171130000000_add_embed_url_to_preview_cards.rb')
-rw-r--r-- | db/migrate/20171130000000_add_embed_url_to_preview_cards.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20171130000000_add_embed_url_to_preview_cards.rb b/db/migrate/20171130000000_add_embed_url_to_preview_cards.rb index d19c0091b..8fcabef9f 100644 --- a/db/migrate/20171130000000_add_embed_url_to_preview_cards.rb +++ b/db/migrate/20171130000000_add_embed_url_to_preview_cards.rb @@ -1,6 +1,6 @@ require Rails.root.join('lib', 'mastodon', 'migration_helpers') -class AddEmbedUrlToPreviewCards < ActiveRecord::Migration[5.1] +class AddEmbedURLToPreviewCards < ActiveRecord::Migration[5.1] include Mastodon::MigrationHelpers disable_ddl_transaction! |