2026-03-05 11:30:24 -05:00
|
|
|
class CreateIdCardExceptions < ActiveRecord::Migration[7.2]
|
|
|
|
|
def change
|
|
|
|
|
create_table :id_card_exceptions do |t|
|
|
|
|
|
t.string :type
|
|
|
|
|
t.string :value
|
2026-03-06 10:56:20 -05:00
|
|
|
t.belongs_to :setup, null: false, foreign_key: { to_table: :id_card_setups }
|
2026-03-05 11:30:24 -05:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|