summaryrefslogtreecommitdiff
path: root/generator_templates
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-20 21:11:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-20 21:11:31 +0000
commitcfd505b1984183857fcfeab259c5a38791205914 (patch)
tree816c1ca2c84eeb9f6faf8bf15162703b48ba918f /generator_templates
parent813226e2ba738fd7157e7014e1a115557a25b172 (diff)
downloadgitlab-ce-cfd505b1984183857fcfeab259c5a38791205914.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'generator_templates')
-rw-r--r--generator_templates/active_record/migration/create_table_migration.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/generator_templates/active_record/migration/create_table_migration.rb b/generator_templates/active_record/migration/create_table_migration.rb
index 7d52336cd4c..0b0cb05249c 100644
--- a/generator_templates/active_record/migration/create_table_migration.rb
+++ b/generator_templates/active_record/migration/create_table_migration.rb
@@ -3,9 +3,7 @@
# See https://docs.gitlab.com/ee/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
-class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
- include Gitlab::Database::MigrationHelpers
-
+class <%= migration_class_name %> < Gitlab::Database::Migration[<%= Gitlab::Database::Migration.current_version %>]
# When using the methods "add_concurrent_index" or "remove_concurrent_index"
# you must disable the use of transactions
# as these methods can not run in an existing transaction.