1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/db/migrate/20220426162334_create_proof_of_identity_files.rb

14 lines
316 B
Ruby

# frozen_string_literal: true
class CreateProofOfIdentityFiles < ActiveRecord::Migration[5.2]
def change
create_table :proof_of_identity_files do |t|
t.belongs_to :proof_of_identity_type, index: true
t.belongs_to :user, index: true
t.string :attachment
t.timestamps
end
end
end