diff options
Diffstat (limited to 'db/migrate/20200406132529_add_resource_state_events_table.rb')
-rw-r--r-- | db/migrate/20200406132529_add_resource_state_events_table.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20200406132529_add_resource_state_events_table.rb b/db/migrate/20200406132529_add_resource_state_events_table.rb deleted file mode 100644 index ce241dff4dd..00000000000 --- a/db/migrate/20200406132529_add_resource_state_events_table.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class AddResourceStateEventsTable < ActiveRecord::Migration[6.0] - DOWNTIME = false - - def change - create_table :resource_state_events, id: :bigserial do |t| - t.bigint :user_id, null: false - t.bigint :issue_id, null: true - t.bigint :merge_request_id, null: true - - t.datetime_with_timezone :created_at, null: false - t.integer :state, limit: 2, null: false - - t.index [:issue_id, :created_at], name: 'index_resource_state_events_on_issue_id_and_created_at' - t.index [:user_id], name: 'index_resource_state_events_on_user_id' - t.index [:merge_request_id], name: 'index_resource_state_events_on_merge_request_id' - end - end -end |