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

12 lines
309 B
Ruby

class CreateUserProfileCustomFields < ActiveRecord::Migration[5.2]
def change
create_table :user_profile_custom_fields do |t|
t.belongs_to :invoicing_profile, foreign_key: true
t.belongs_to :profile_custom_field, foreign_key: true
t.string :value
t.timestamps
end
end
end