foodsoft/db/migrate/20090405131156_modify_group_order_article_result.rb

10 lines
256 B
Ruby
Raw Normal View History

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