diff --git a/changelogs/unreleased/deprecated-directly-inheriting-migration.yml b/changelogs/unreleased/deprecated-directly-inheriting-migration.yml new file mode 100644 index 00000000000..2793cc0d44f --- /dev/null +++ b/changelogs/unreleased/deprecated-directly-inheriting-migration.yml @@ -0,0 +1,5 @@ +--- +title: 'Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.' +merge_request: 23884 +author: Jasper Maes +type: other diff --git a/db/migrate/20181123144235_create_suggestions.rb b/db/migrate/20181123144235_create_suggestions.rb index bcc4d8c538b..1723f6de7eb 100644 --- a/db/migrate/20181123144235_create_suggestions.rb +++ b/db/migrate/20181123144235_create_suggestions.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateSuggestions < ActiveRecord::Migration +class CreateSuggestions < ActiveRecord::Migration[5.0] DOWNTIME = false def change