Sha256: 5b4745a243b461901fd2da5a1f02b955c71d94057fdc8d4bca8486b1d7a3a3da
Contents?: true
Size: 645 Bytes
Versions: 52
Compression:
Stored size: 645 Bytes
Contents
class CreateEducodeSalesInvoiceDetails < ActiveRecord::Migration[5.2] def change create_table :educode_sales_invoice_details do |t| t.references :invoice_apply t.references :business t.references :sale_detail t.integer :num, comment: "数量" t.string :specification, comment: "规格" t.string :unit, comment: "单位" t.float :price, comment: "单价" t.integer :category, comment: "类别:软件,硬件" t.string :name, comment: "名称" t.float :amount, comment: "金额" t.integer :state, comment: "开票状态:已开票" t.timestamps end end end
Version data entries
52 entries across 52 versions & 1 rubygems