Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class CreateVulnerabilities < ActiveRecord::Migration def self.up create_table :vulnerabilities do |t| #private t.integer :publish_id t.integer :publish_rev #public t.string :cveid t.date :vendor_published t.string :name t.text :filter t.string :announcement_origin t.string :announcement_url t.text :references t.text :remediation t.text :recommendation t.text :summary t.text :details t.text :vulnerable t.float :cve_severity t.integer :cve_status t.integer :netmri_severity #open t.text :notes t.string :created_by t.string :updated_by t.timestamps end end def self.down drop_table :vulnerabilities end end
This paste will be private.
From the Design Piracy series on my blog: