New annotation, because of db switch to mysql.
Background: sqlite has some problems with decimal option.
This commit is contained in:
parent
c2496aa4fd
commit
46450cebef
60 changed files with 623 additions and 568 deletions
|
|
@ -1,17 +1,3 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: order_articles
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# order_id :integer default(0), not null
|
||||
# article_id :integer default(0), not null
|
||||
# quantity :integer default(0), not null
|
||||
# tolerance :integer default(0), not null
|
||||
# units_to_order :integer default(0), not null
|
||||
# lock_version :integer default(0), not null
|
||||
# article_price_id :integer
|
||||
#
|
||||
|
||||
# An OrderArticle represents a single Article that is part of an Order.
|
||||
class OrderArticle < ActiveRecord::Base
|
||||
|
||||
|
|
@ -120,3 +106,18 @@ class OrderArticle < ActiveRecord::Base
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: order_articles
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# order_id :integer(4) default(0), not null
|
||||
# article_id :integer(4) default(0), not null
|
||||
# quantity :integer(4) default(0), not null
|
||||
# tolerance :integer(4) default(0), not null
|
||||
# units_to_order :integer(4) default(0), not null
|
||||
# lock_version :integer(4) default(0), not null
|
||||
# article_price_id :integer(4)
|
||||
#
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue