20200908193330_create_account_deletion_requests.rb 265 B

12345678910
  1. # frozen_string_literal: true
  2. class CreateAccountDeletionRequests < ActiveRecord::Migration[5.2]
  3. def change
  4. create_table :account_deletion_requests do |t|
  5. t.references :account, foreign_key: { on_delete: :cascade }
  6. t.timestamps
  7. end
  8. end
  9. end