Commit 986661ff authored by Yorick Peterse's avatar Yorick Peterse

Fix EE ActiveRecord::Migration deprecations

This fixes two cases of EE specific code extending
ActiveRecord::Migration, instead of extending
ActiveRecord::Migration[4.2].
parent 1549186d
class AddEpicsSortToUserPreference < ActiveRecord::Migration class AddEpicsSortToUserPreference < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
DOWNTIME = false DOWNTIME = false
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html # See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab. # for more information on how to write migrations for GitLab.
class SanitizeTracingExternalUrl < ActiveRecord::Migration class SanitizeTracingExternalUrl < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime. # Set this constant to true if this migration requires downtime.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment