OSDN Git Service

fix extend for profiler
[pettanr/pettanr.git] / db / migrate / 20130602100940_add_caption_and_t_on_ground_pictures.rb
1 class AddCaptionAndTOnGroundPictures < ActiveRecord::Migration
2   def up
3     add_column :ground_pictures, :t, :integer, :null => false, :default => 0
4     add_column :ground_pictures, :caption, :text
5   end
6
7   def down
8     remove_column :ground_pictures, :t
9     remove_column :ground_pictures, :caption
10   end
11 end