mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
14 lines
316 B
Ruby
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
|