view db/migrate/20130511133450_add_secret_to_pastes.rb @ 221:0f9f29274663

Add index to pastes.secret
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 12:25:27 +0900
parents ee7829c7c2a2
children 682abad78313
line wrap: on
line source

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