1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/db/migrate/20181202104848_add_account_...

10 lines
292 B
Ruby

# frozen_string_literal: true
class AddAccountToMembershipApplications < ActiveRecord::Migration[5.2]
def change
add_reference :membership_applications, :account,
null: false, # rubocop:disable Rails/NotNullColumn
foreign_key: true
end
end