OSDN Git Service

classname rename to module_name
[pettanr/pettanr.git] / db / migrate / 20130710235123_add_system_picture_id_on_speech_balloon_templates.rb
1 class AddSystemPictureIdOnSpeechBalloonTemplates < ActiveRecord::Migration
2   def up
3     add_column :speech_balloon_templates, :system_picture_id, :integer, :null => false, :default => 1
4   end
5
6   def down
7     remove_column :speech_balloon_templates, :system_picture_id
8   end
9 end