12 lines
264 B
Ruby
12 lines
264 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 :id_card_setup, null: false, foreign_key: true
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|