Sha256: 68d0e4e09d8e2c3c1dfbd703684fdc4d89500e8a3bb24037fcd327932523b8d5
Contents?: true
Size: 664 Bytes
Versions: 81
Compression:
Stored size: 664 Bytes
Contents
class CreateComeeCoreInvoiceItems < ActiveRecord::Migration[7.0] def change create_table :comee_core_invoice_items do |t| t.references :sales_order_item, null: false, index: {name: "soi_on_ccii_indx"}, foreign_key: {to_table: :comee_core_sales_order_items} t.float :quantity, null: false t.float :unit_price, null: false t.float :total_price, null: false t.references :invoice, null: false, index: {name: "invoice_on_ccii_indx"}, foreign_key: {to_table: :comee_core_invoices} t.timestamps end end end
Version data entries
81 entries across 81 versions & 1 rubygems