view db/migrate/20130201150322_add_key_to_paste.rb @ 197:af80541dc915

attr_accesible is no longer needed. Never needed to begin with anyway because of how it's used in the controller.
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:03:01 +0900
parents a9dba6a3008b
children 682abad78313
line wrap: on
line source

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