OSDN Git Service

t#31757:add font
[pettanr/pettanr.git] / db / migrate / 20130816102354_add_font_on_speeches.rb
1 class AddFontOnSpeeches < ActiveRecord::Migration
2   def up
3     add_column :speeches, :font_size, :float, :null => false, :default => 1.0
4     add_column :speeches, :text_align, :integer, :null => false, :default => 0
5     add_column :speeches, :fore_color, :integer, :null => false, :default => 0
6   end
7
8   def down
9   end
10 end