Sha256: 4af443863a093d4401513390742af728ea840ac407cd29e0b1d7494138afa36c
Contents?: true
Size: 598 Bytes
Versions: 11
Compression:
Stored size: 598 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
11 entries across 11 versions & 1 rubygems