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

Version Path
educode_sales-1.10.6 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.5 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.3 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.2 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.1 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.0 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.0.9 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.0.8 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.0.7 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.0.6 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.0.5 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.0.4 db/migrate/20230601011943_create_educode_sales_invoice_details.rb