Sha256: 6b3826db4a1a0fd0af52a5930bef17e3ec421c8459428995eff0e3b896dd862a
Contents?: true
Size: 484 Bytes
Versions: 17
Compression:
Stored size: 484 Bytes
Contents
class CreateComeeCoreAdditionalItems < ActiveRecord::Migration[7.1] def change create_table :comee_core_additional_items do |t| t.references :invoice, null: false, index: {name: "invoice_on_ccai_indx"}, foreign_key: {to_table: :comee_core_invoices} t.float :quantity, null: false, default: 1 t.float :unit_price, null: false t.float :total_price, null: false t.timestamps end end end
Version data entries
17 entries across 17 versions & 1 rubygems