diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-19 12:35:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-19 12:35:24 +0300 |
commit | 1d20d43661f3e98bde2bb5dc163a45fd90f8ac88 (patch) | |
tree | 53feb6983348a364ed4f52a4108866bf4ff0a599 /generator_templates | |
parent | 2774ddc308f96f49a0f26871ff544681229f4eee (diff) |
Add latest changes from gitlab-org/gitlab@12-9-stable-ee
Diffstat (limited to 'generator_templates')
3 files changed, 7 insertions, 5 deletions
diff --git a/generator_templates/active_record/migration/create_table_migration.rb b/generator_templates/active_record/migration/create_table_migration.rb index 4a6bea2796c..91df1b0d98f 100644 --- a/generator_templates/active_record/migration/create_table_migration.rb +++ b/generator_templates/active_record/migration/create_table_migration.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# 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 %>] diff --git a/generator_templates/active_record/migration/migration.rb b/generator_templates/active_record/migration/migration.rb index 153280cd4b7..2a57edba65e 100644 --- a/generator_templates/active_record/migration/migration.rb +++ b/generator_templates/active_record/migration/migration.rb @@ -1,10 +1,11 @@ # frozen_string_literal: true -# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# 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 + # Uncomment the following include if you require helper functions: + # include Gitlab::Database::MigrationHelpers # Set this constant to true if this migration requires downtime. DOWNTIME = false diff --git a/generator_templates/rails/post_deployment_migration/migration.rb b/generator_templates/rails/post_deployment_migration/migration.rb index 4c1685545b5..b36cf877f0e 100644 --- a/generator_templates/rails/post_deployment_migration/migration.rb +++ b/generator_templates/rails/post_deployment_migration/migration.rb @@ -1,10 +1,11 @@ # frozen_string_literal: true -# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# 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 + # Uncomment the following include if you require helper functions: + # include Gitlab::Database::MigrationHelpers DOWNTIME = false |