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

12 lines
309 B
Ruby
Raw Normal View History

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