Files
old-konsultanti-next-gen/db/migrate/20210907144514_add_employer_to_subscription.rb
2021-09-20 08:22:39 +02:00

6 lines
162 B
Ruby

class AddEmployerToSubscription < ActiveRecord::Migration[6.1]
def change
add_reference :subscriptions, :employer, null: false, foreign_key: true
end
end