foodsoft/db/migrate/20090405131156_modify_group_order_article_result.rb
2020-09-05 14:40:11 +02:00

9 lines
262 B
Ruby

class ModifyGroupOrderArticleResult < ActiveRecord::Migration[4.2]
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