view db/migrate/20130511133450_add_secret_to_pastes.rb @ 210:d59731c3c7bf

Add support for is_private flag
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 02:40:13 +0900
parents ee7829c7c2a2
children 682abad78313
line wrap: on
line source

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