diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-12-17 18:37:32 +0100 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-12-17 18:50:49 +0100 |
commit | b9e67b7f3bda09e929f65901c78d9159600949fa (patch) | |
tree | e92c0617546fd1839e779279d9d6d415f81ba31e | |
parent | 4a10c813e726d09216c534bb0ad0ae50a0400259 (diff) | |
download | gitlab-ce-b9e67b7f3bda09e929f65901c78d9159600949fa.tar.gz |
Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.
-rw-r--r-- | changelogs/unreleased/deprecated-directly-inheriting-migration.yml | 5 | ||||
-rw-r--r-- | db/migrate/20181123144235_create_suggestions.rb | 2 |
2 files changed, 6 insertions, 1 deletions
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 |