about summary refs log tree commit diff
path: root/db/migrate/20200908193330_create_account_deletion_requests.rb
blob: e03183ae457876610afe44abbbcbce7900097e64 (plain) (blame)
1
2
3
4
5
6
7
8
class CreateAccountDeletionRequests < ActiveRecord::Migration[5.2]
  def change
    create_table :account_deletion_requests do |t|
      t.references :account, foreign_key: { on_delete: :cascade }
      t.timestamps
    end
  end
end