diff options
Diffstat (limited to 'db/migrate/20200331132103_add_project_compliance_framework_settings_table.rb')
-rw-r--r-- | db/migrate/20200331132103_add_project_compliance_framework_settings_table.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/db/migrate/20200331132103_add_project_compliance_framework_settings_table.rb b/db/migrate/20200331132103_add_project_compliance_framework_settings_table.rb deleted file mode 100644 index 6af8c6db939..00000000000 --- a/db/migrate/20200331132103_add_project_compliance_framework_settings_table.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class AddProjectComplianceFrameworkSettingsTable < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - with_lock_retries do - create_table :project_compliance_framework_settings, id: false do |t| - t.references :project, primary_key: true, null: false, index: true, foreign_key: { on_delete: :cascade } - t.integer :framework, null: false, limit: 2 - end - end - end - - def down - with_lock_retries do - drop_table :project_compliance_framework_settings - end - end -end |