Sha256: e792ab2fdccc5e2d5c5d428d0813286c51aa3cdcd51832815ff618b03977d586
Contents?: true
Size: 525 Bytes
Versions: 135
Compression:
Stored size: 525 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.string :description, null: false 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
135 entries across 135 versions & 1 rubygems