blob: 4923eb393db5697f3833df57cb6e64c70b86ae88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
class CreateDestructingStatuses < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
create_table :destructing_statuses do |t|
t.references :status, null: false, unique: true, foreign_key: { on_delete: :cascade }
t.datetime :after, null: false, index: { algorithm: :concurrently }
t.boolean :defederate_only, null: false, default: false
end
end
end
|