diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-12-12 18:38:40 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-12-12 18:38:40 +0300 |
commit | 40ad7d5d7a01a6f019ce1c3bb8864b16fc48e9c8 (patch) | |
tree | b6df001f46b76dbe6f48120209f56439e11f6797 /spec/support/helpers | |
parent | 099777a3569208cdadeb88203a19885dbcd5d527 (diff) |
Fix ActiveRecord::Migration deprecations
Extending from ActiveRecord::Migration is deprecated, but was still used
in a bunch of places.
Diffstat (limited to 'spec/support/helpers')
-rw-r--r-- | spec/support/helpers/fake_migration_classes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/fake_migration_classes.rb b/spec/support/helpers/fake_migration_classes.rb index b0fc8422857..c7766df7a52 100644 --- a/spec/support/helpers/fake_migration_classes.rb +++ b/spec/support/helpers/fake_migration_classes.rb @@ -1,4 +1,4 @@ -class FakeRenameReservedPathMigrationV1 < ActiveRecord::Migration +class FakeRenameReservedPathMigrationV1 < ActiveRecord::Migration[4.2] include Gitlab::Database::RenameReservedPathsMigration::V1 def version |