16 lines
361 B
Ruby
16 lines
361 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class CreateSentryIssuesTable < ActiveRecord::Migration[5.2]
|
||
|
DOWNTIME = false
|
||
|
|
||
|
def change
|
||
|
create_table :sentry_issues do |t|
|
||
|
t.references :issue,
|
||
|
foreign_key: { on_delete: :cascade },
|
||
|
index: { unique: true },
|
||
|
null: false
|
||
|
t.bigint :sentry_issue_identifier, null: false
|
||
|
end
|
||
|
end
|
||
|
end
|