OSDN Git Service

t#30021:add repeat on gp
[pettanr/pettanr.git] / db / migrate / 20120926230129_rm_author_id_on_gc.rb
1 class RmAuthorIdOnGc < ActiveRecord::Migration
2   def up
3     remove_column :ground_colors, :author_id
4   end
5
6   def down
7     add_column :ground_colors, :author_id, :integer , :null => false, :default => 0
8   end
9 end