Sha256: 72130c9f5793cc32248a6229a6fa8f8243590cf5f0578c16e868ddf53f0f1625
Contents?: true
Size: 600 Bytes
Versions: 3
Compression:
Stored size: 600 Bytes
Contents
class CreateComeeCoreInvoiceItems < ActiveRecord::Migration[7.0] def change create_table :comee_core_invoice_items do |t| t.references :client_order_item, null: false, index: {name: "coi_on_ccii_indx"}, foreign_key: {to_table: :comee_core_client_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
3 entries across 3 versions & 1 rubygems