Sha256: de4e4f5ef1c0cd13f194f0d0f4a3996409e1896d101065d05aede2b35e6b0531
Contents?: true
Size: 592 Bytes
Versions: 135
Compression:
Stored size: 592 Bytes
Contents
class CreateComeeCorePayments < ActiveRecord::Migration[7.1] def change create_table :comee_core_payments do |t| t.references :payment_deposit, null: false, index: {name: "pd_on_ccp_indx"}, foreign_key: {to_table: :comee_core_payment_deposits} t.references :invoice, null: false, index: {name: "invoice_on_ccp_indx"}, foreign_key: {to_table: :comee_core_invoices} t.float :amount, null: false t.string :remark t.timestamps end end end
Version data entries
135 entries across 135 versions & 1 rubygems