view db/migrate/20130201150322_add_key_to_paste.rb @ 229:388504e43bcf

Properly return 404 when requesting invalid paste.
author Edho Arief <edho@myconan.net>
date Wed, 15 May 2013 14:10:35 +0900
parents a9dba6a3008b
children 682abad78313
line wrap: on
line source

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