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