diff --git a/lib/templates/active_record/migration/create_table_migration.rb b/lib/templates/active_record/migration/create_table_migration.rb index 1235ecd8e6e..4b7e39e057f 100644 --- a/lib/templates/active_record/migration/create_table_migration.rb +++ b/lib/templates/active_record/migration/create_table_migration.rb @@ -1,3 +1,6 @@ +# 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 include Gitlab::Database::MigrationHelpers diff --git a/lib/templates/active_record/migration/migration.rb b/lib/templates/active_record/migration/migration.rb index 3cde953d15f..ae88593cd12 100644 --- a/lib/templates/active_record/migration/migration.rb +++ b/lib/templates/active_record/migration/migration.rb @@ -1,3 +1,6 @@ +# 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 include Gitlab::Database::MigrationHelpers