mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-17 11:54:22 +01:00
14 lines
398 B
Ruby
14 lines
398 B
Ruby
class CreateInvoicingProfiles < ActiveRecord::Migration
|
|
def change
|
|
create_table :invoicing_profiles do |t|
|
|
t.references :user, index: true, foreign_key: true
|
|
t.string :first_name
|
|
t.string :last_name
|
|
t.references :address, index: true, foreign_key: true
|
|
t.references :organization, index: true, foreign_key: true
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|