Employer table broken up and new idcard module setup
This commit is contained in:
@@ -3,7 +3,7 @@ class CreateIdCardExceptions < ActiveRecord::Migration[7.2]
|
||||
create_table :id_card_exceptions do |t|
|
||||
t.string :type
|
||||
t.string :value
|
||||
t.belongs_to :id_card_setup, null: false, foreign_key: true
|
||||
t.belongs_to :setup, null: false, foreign_key: { to_table: :id_card_setups }
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user