Sha256: 167ba146d5b6a8496cbc520a4b88efb1dd7a5f41547e85ce730b42b4cf57f1f8
Contents?: true
Size: 384 Bytes
Versions: 2
Compression:
Stored size: 384 Bytes
Contents
class CreateSupplierInvoices < ActiveRecord::Migration def self.up create_table :supplier_invoices do |t| t.integer :order_id t.integer :item_count t.integer :supplier_id t.decimal :invoice_total, :precision => 8, :scale => 2, :default => 0.0, :null => false t.timestamps end end def self.down drop_table :supplier_invoices end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_suppliers-0.0.1 | db/migrate/20111013155257_create_supplier_invoices.rb |
spree_suppliers-0.60.3 | db/migrate/20111013155257_create_supplier_invoices.rb |