summaryrefslogtreecommitdiff
path: root/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-12-12 16:38:40 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2018-12-12 16:38:40 +0100
commit40ad7d5d7a01a6f019ce1c3bb8864b16fc48e9c8 (patch)
treeb6df001f46b76dbe6f48120209f56439e11f6797 /db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
parent099777a3569208cdadeb88203a19885dbcd5d527 (diff)
downloadgitlab-ce-40ad7d5d7a01a6f019ce1c3bb8864b16fc48e9c8.tar.gz
Fix ActiveRecord::Migration deprecations
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
Diffstat (limited to 'db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb')
-rw-r--r--db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb b/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
index a0a02e81323..e4fb703e887 100644
--- a/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
+++ b/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
@@ -3,7 +3,7 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
-class RemoveRedundantCiBuildsPartialIndex < ActiveRecord::Migration
+class RemoveRedundantCiBuildsPartialIndex < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false