diff options
Diffstat (limited to 'db/migrate/20200416005331_create_status_page_published_incidents.rb')
-rw-r--r-- | db/migrate/20200416005331_create_status_page_published_incidents.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20200416005331_create_status_page_published_incidents.rb b/db/migrate/20200416005331_create_status_page_published_incidents.rb deleted file mode 100644 index 75889cd5bb6..00000000000 --- a/db/migrate/20200416005331_create_status_page_published_incidents.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class CreateStatusPagePublishedIncidents < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - with_lock_retries do - create_table :status_page_published_incidents do |t| - t.timestamps_with_timezone null: false - t.references :issue, null: false, index: { unique: true }, foreign_key: { on_delete: :cascade } - end - end - end - - def down - drop_table :status_page_published_incidents - end -end |