Sha256: dd0ab95358c891df313ce1195c7744cc10c71f34ca94a728b8b54cefe593aa6a
Contents?: true
Size: 654 Bytes
Versions: 23
Compression:
Stored size: 654 Bytes
Contents
class CreateComeeCoreCreditNoteItems < ActiveRecord::Migration[7.1] def change create_table :comee_core_credit_note_items do |t| t.references :credit_note, null: false, index: {name: "cn_on_cccni_indx"}, foreign_key: {to_table: :comee_core_credit_notes} t.references :invoice_item, null: false, index: {name: "ii_on_cccni_indx"}, foreign_key: {to_table: :comee_core_invoice_items} t.float :quantity, null: false t.float :unit_price, null: false t.float :total_price t.timestamps end end end
Version data entries
23 entries across 23 versions & 1 rubygems