Sha256: 33a22b50a37f1359b6df90d49f1857f4c51ac9aade1c17ddb0eeb259f1646aff
Contents?: true
Size: 844 Bytes
Versions: 155
Compression:
Stored size: 844 Bytes
Contents
class CreateComeeCoreInvoiceItems < ActiveRecord::Migration[7.0] def change create_table :comee_core_invoice_items do |t| t.references :shipment_instruction_item, null: false, index: {name: "sii_on_ccii_indx"}, foreign_key: {to_table: :comee_core_shipment_instruction_items} t.references :unit, null: false, index: {name: "unit_on_ccii_indx"}, foreign_key: {to_table: :comee_core_units} t.float :quantity, null: false t.float :unit_price, null: false t.float :total_price 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
155 entries across 155 versions & 1 rubygems