mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 16:19:40 +02:00
12 lines
310 B
Ruby
12 lines
310 B
Ruby
|
class RemoveIssues < ActiveRecord::Migration[7.2]
|
||
|
def change
|
||
|
drop_table :issues do |t|
|
||
|
t.references :issuable, polymorphic: true, null: false
|
||
|
t.string :type, null: false
|
||
|
t.integer :severity, null: false
|
||
|
t.datetime :last_observed_at
|
||
|
t.datetime :resolved_at
|
||
|
end
|
||
|
end
|
||
|
end
|