Files
baclight/db/migrate/20260116181849_create_id_card_exceptions.rb
T
2026-03-06 10:56:20 -05:00

12 lines
281 B
Ruby

class CreateIdCardExceptions < ActiveRecord::Migration[7.2]
def change
create_table :id_card_exceptions do |t|
t.string :type
t.string :value
t.belongs_to :setup, null: false, foreign_key: { to_table: :id_card_setups }
t.timestamps
end
end
end