1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/db/migrate/20181202104848_add_account_to_membership_applications.rb
2019-04-28 18:34:46 +05:00

9 lines
285 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