Introduced group_order_article.result to save the result for each group/article.
This commit is contained in:
parent
6fd5d825f9
commit
251ced4fa1
27 changed files with 106 additions and 137 deletions
|
|
@ -79,9 +79,8 @@ class RefactorOrderLogic < ActiveRecord::Migration
|
|||
# change_column :group_orders, :updated_by_user_id, :integer, :default => nil, :null => true
|
||||
|
||||
# == GroupOrderArticle
|
||||
# The order result in ordergroup is now saved!
|
||||
add_column :group_order_articles, :quantity_result, :integer, :default => nil
|
||||
add_column :group_order_articles, :tolerance_result, :integer, :default => nil
|
||||
# The total order result in ordergroup is now saved!
|
||||
add_column :group_order_articles, :result, :integer, :default => nil
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue