diff options
Diffstat (limited to 'generator_templates/rails/post_deployment_migration/migration.rb')
-rw-r--r-- | generator_templates/rails/post_deployment_migration/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator_templates/rails/post_deployment_migration/migration.rb b/generator_templates/rails/post_deployment_migration/migration.rb index 353709f7c9c..4c1685545b5 100644 --- a/generator_templates/rails/post_deployment_migration/migration.rb +++ b/generator_templates/rails/post_deployment_migration/migration.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 <%= migration_class_name %> < ActiveRecord::Migration +class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] include Gitlab::Database::MigrationHelpers DOWNTIME = false |