view db/migrate/20130201150322_add_key_to_paste.rb @ 254:bcca41003e84

Use postgres 'cuz mysql is shit. - utf8 isn't utf8 (hint: utf8mb4) - index key too loooooooooooong Nope.
author edogawaconan <me@myconan.net>
date Tue, 15 Oct 2013 01:47:19 +0900
parents a9dba6a3008b
children 682abad78313
line wrap: on
line source

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