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.74 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.73 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.72 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.71 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.70 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.59 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.58 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.49 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.48 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.46 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.41 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.37 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.36 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.35 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.34 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.33 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.31 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.30 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.29 db/migrate/20230601011943_create_educode_sales_invoice_details.rb
educode_sales-1.10.28 db/migrate/20230601011943_create_educode_sales_invoice_details.rb