Commit 93e86da1 authored by Nick Thomas's avatar Nick Thomas

Disable Migration/Timestamps and Migration/Datetime cops on preexisting EE migrations

parent 249e6bcf
# rubocop:disable Migration/Timestamps
class CreateGitHooks < ActiveRecord::Migration class CreateGitHooks < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateAppearances < ActiveRecord::Migration class CreateAppearances < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Datetime
class AddUnsubscribedAtFieldToUsers < ActiveRecord::Migration class AddUnsubscribedAtFieldToUsers < ActiveRecord::Migration
def change def change
add_column :users, :admin_email_unsubscribed_at, :datetime add_column :users, :admin_email_unsubscribed_at, :datetime
......
# rubocop:disable Migration/Timestamps
class AddLdapGroupsTable < ActiveRecord::Migration class AddLdapGroupsTable < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateLicenses < ActiveRecord::Migration class CreateLicenses < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateHistoricalData < ActiveRecord::Migration class CreateHistoricalData < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateApproves < ActiveRecord::Migration class CreateApproves < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class AddApproversTable < ActiveRecord::Migration class AddApproversTable < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
# rubocop:disable Migration/Datetime
class CreateIndexStatuses < ActiveRecord::Migration class CreateIndexStatuses < ActiveRecord::Migration
def change def change
create_table :index_statuses do |t| create_table :index_statuses do |t|
......
# rubocop:disable Migration/Datetime
# rubocop:disable Migration/Timestamps
class CreateRemoteMirrors < ActiveRecord::Migration class CreateRemoteMirrors < ActiveRecord::Migration
def change def change
create_table :remote_mirrors do |t| create_table :remote_mirrors do |t|
......
# rubocop:disable Migration/Timestamps
class CreatePathLocksTable < ActiveRecord::Migration class CreatePathLocksTable < ActiveRecord::Migration
def change def change
create_table :path_locks do |t| create_table :path_locks do |t|
......
# Migration type: online without errors (works on previous version and new one) # Migration type: online without errors (works on previous version and new one)
# rubocop:disable Migration/AddColumnWithDefaultToLargeTable # rubocop:disable Migration/AddColumnWithDefaultToLargeTable
# rubocop:disable Migration/Datetime
class AddLdapSyncStateToGroups < ActiveRecord::Migration class AddLdapSyncStateToGroups < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
disable_ddl_transaction! disable_ddl_transaction!
......
# Migration type: online without errors (works on previous version and new one) # Migration type: online without errors (works on previous version and new one)
# rubocop:disable Migration/Datetime
class RemoveLastLdapSyncStatusFromGroups < ActiveRecord::Migration class RemoveLastLdapSyncStatusFromGroups < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# See http://doc.gitlab.com/ce/development/migration_style_guide.html # See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab. # for more information on how to write migrations for GitLab.
# rubocop:disable Migration/Timestamps
class AddApproverGroups < ActiveRecord::Migration class AddApproverGroups < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Timestamps
# rubocop:disable Migration/Datetime
class CreateUserActivities < ActiveRecord::Migration class CreateUserActivities < ActiveRecord::Migration
# Set this constant to true if this migration requires downtime. # Set this constant to true if this migration requires downtime.
DOWNTIME = true DOWNTIME = true
......
# rubocop:disable Migration/Timestamps
class CreateTimelogs < ActiveRecord::Migration class CreateTimelogs < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Datetime
class AddLastUpdateStartedAtColumnToRemoteMirrors < ActiveRecord::Migration class AddLastUpdateStartedAtColumnToRemoteMirrors < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Timestamps
class CreateIssueLinksTable < ActiveRecord::Migration class CreateIssueLinksTable < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Datetime
class CreateGeoRepositoryUpdatedEvents < ActiveRecord::Migration class CreateGeoRepositoryUpdatedEvents < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# rubocop:disable Migration/Datetime
class CreateGeoEventLog < ActiveRecord::Migration class CreateGeoEventLog < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
......
# See http://doc.gitlab.com/ce/development/migration_style_guide.html # See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab. # for more information on how to write migrations for GitLab.
# rubocop:disable Migration/Datetime
class DropUserActivitiesTable < ActiveRecord::Migration class DropUserActivitiesTable < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment