class CreateInvPhotographerPayments < ActiveRecord::Migration[6.0]
  def change
    create_table :inv_photographer_payments do |t|
      t.integer "user_id", null: false
      t.integer "photographer_billing_company_id", null: false
      t.integer "payment_type_id", null: false
      t.date "payment_date", null: false
      t.decimal "total", precision: 10, scale: 3, default: "0.0", null: false
      t.datetime "created_at", null: false
      t.datetime "updated_at", null: false
      t.index "user_id"
      t.index "photographer_billing_company_id", name: "index_photographer_billing_company_id"
    end
  end
end
