blob: baed9035af9017a2f8ca2c52511b1079f0826bc9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class CreateDestructingStatuses < ActiveRecord::Migration[5.2]
def change
create_table :destructing_statuses do |t|
t.references :status, foreign_key: true
t.datetime :delete_after
end
add_index :destructing_statuses, :delete_after
end
end
|