Skip to content

Commit

Permalink
aumantado campos numericos iotens da venda
Browse files Browse the repository at this point in the history
  • Loading branch information
clairton committed Dec 5, 2011
1 parent 444bce2 commit e4556ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/migrate/20110822160825_create_transaction_goods_items.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ def self.up
t.references :transaction_record
t.string :name, :null => false, :limit => 200
t.string :measure, :null => false, :limit => 6
t.decimal :quantity, :null => false, :precision => 10, :scale => 4
t.decimal :unit_price, :null => false, :precision => 10, :scale => 4
t.decimal :full_price, :null => false, :precision => 10, :scale => 2
t.decimal :quantity, :null => false, :precision => 15, :scale => 6
t.decimal :unit_price, :null => false, :precision => 15, :scale => 6
t.decimal :full_price, :null => false, :precision => 15, :scale => 6
t.boolean :active, :null => false, :default => true
t.text :remark

Expand Down

0 comments on commit e4556ac

Please sign in to comment.