Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'generator_templates/active_record/migration/migration.rb.tt')
-rw-r--r--generator_templates/active_record/migration/migration.rb.tt1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator_templates/active_record/migration/migration.rb.tt b/generator_templates/active_record/migration/migration.rb.tt
index 40481aed6ea..a8e715789e6 100644
--- a/generator_templates/active_record/migration/migration.rb.tt
+++ b/generator_templates/active_record/migration/migration.rb.tt
@@ -23,6 +23,7 @@ class <%= migration_class_name %> < Gitlab::Database::Migration[<%= Gitlab::Data
# Add dependent 'batched_background_migrations.queued_migration_version' values.
# DEPENDENT_BATCHED_BACKGROUND_MIGRATIONS = []
+ milestone '<%= Gitlab.current_milestone %>'
<%- if migration_action == 'add' -%>
def change