view db/migrate/20130201150322_add_key_to_paste.rb @ 191:4e409ac7082d

Also expires the page upon deletion.
author Edho Arief <edho@myconan.net>
date Sat, 23 Feb 2013 14:53:47 +0900
parents a9dba6a3008b
children 682abad78313
line wrap: on
line source

class AddKeyToPaste < ActiveRecord::Migration
  def change
    add_column :pastes, :key, :string
  end
end