Allow input of decimal numbers for GroupOrderArticle-result.
This commit is contained in:
parent
40886b71f9
commit
36f9bffdb8
3 changed files with 48 additions and 30 deletions
|
|
@ -0,0 +1,9 @@
|
|||
class ModifyGroupOrderArticleResult < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :group_order_articles, :result, :decimal, :precision => 8, :scale => 3
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :group_order_articles, :result, :integer
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue