cirandas.net

ref: master

db/migrate/20160127141855_add_subtitle_to_blocks.rb


1
2
3
4
5
6
7
8
class AddSubtitleToBlocks < ActiveRecord::Migration
  def up
    add_column :blocks, :subtitle, :string, :default => ""
  end
  def down
    remove_column :blocks, :subtitle
  end
end