Files
baclight/db/migrate/20260116181849_create_id_card_exceptions.rb
T

12 lines
281 B
Ruby
Raw Normal View History

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