class CreateInvPhotographerPaymentLines < ActiveRecord::Migration[6.0]
  def change
    create_table :inv_photographer_payment_lines do |t|
      t.integer "photographer_payment_id", null: false
      t.integer "photographer_billing_id", null: false
      t.decimal "amount", precision: 10, scale: 3, default: "0.0", null: false
      t.datetime "created_at", null: false
      t.datetime "updated_at", null: false
      t.index "photographer_payment_id"
      t.index "photographer_billing_id"
    end
  end
end
