view db/migrate/20130511133450_add_secret_to_pastes.rb @ 241:e413246bb589

Use `.to_param` instead of `.id`.
author edogawaconan <me@myconan.net>
date Mon, 07 Oct 2013 13:15:37 +0900
parents ee7829c7c2a2
children 682abad78313
line wrap: on
line source

class AddSecretToPastes < ActiveRecord::Migration
  def change
    add_column :pastes, :secret, :string
  end
end