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
DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateAppearances < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Datetime
class AddUnsubscribedAtFieldToUsers < ActiveRecord::Migration
def change
add_column :users, :admin_email_unsubscribed_at, :datetime
......
# rubocop:disable Migration/Timestamps
class AddLdapGroupsTable < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateLicenses < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateHistoricalData < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class CreateApproves < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
class AddApproversTable < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Timestamps
# rubocop:disable Migration/Datetime
class CreateIndexStatuses < ActiveRecord::Migration
def change
create_table :index_statuses do |t|
......
# rubocop:disable Migration/Datetime
# rubocop:disable Migration/Timestamps
class CreateRemoteMirrors < ActiveRecord::Migration
def change
create_table :remote_mirrors do |t|
......
# rubocop:disable Migration/Timestamps
class CreatePathLocksTable < ActiveRecord::Migration
def change
create_table :path_locks do |t|
......
# Migration type: online without errors (works on previous version and new one)
# rubocop:disable Migration/AddColumnWithDefaultToLargeTable
# rubocop:disable Migration/Datetime
class AddLdapSyncStateToGroups < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
......
# Migration type: online without errors (works on previous version and new one)
# rubocop:disable Migration/Datetime
class RemoveLastLdapSyncStatusFromGroups < ActiveRecord::Migration
DOWNTIME = false
......
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
# rubocop:disable Migration/Timestamps
class AddApproverGroups < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Timestamps
# rubocop:disable Migration/Datetime
class CreateUserActivities < ActiveRecord::Migration
# Set this constant to true if this migration requires downtime.
DOWNTIME = true
......
# rubocop:disable Migration/Timestamps
class CreateTimelogs < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Datetime
class AddLastUpdateStartedAtColumnToRemoteMirrors < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Timestamps
class CreateIssueLinksTable < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
......
# rubocop:disable Migration/Datetime
class CreateGeoRepositoryUpdatedEvents < ActiveRecord::Migration
DOWNTIME = false
......
# rubocop:disable Migration/Datetime
class CreateGeoEventLog < ActiveRecord::Migration
DOWNTIME = false
......
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
# rubocop:disable Migration/Datetime
class DropUserActivitiesTable < ActiveRecord::Migration
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