2026-03-13 08:47:13 -04:00
|
|
|
class CreateIdCardFieldExceptions < ActiveRecord::Migration[7.2]
|
|
|
|
|
def change
|
|
|
|
|
create_table :id_card_field_exceptions do |t|
|
|
|
|
|
t.string :exception_type
|
2026-04-15 08:12:47 -04:00
|
|
|
t.string :exception_values
|
2026-03-20 10:46:53 -04:00
|
|
|
t.belongs_to :setup, null: false, foreign_key: { to_table: :id_card_setups }
|
2026-03-13 08:47:13 -04:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|