Mercurial > zeropaste
view db/migrate/20130512032335_add_index_to_pastes_secret.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 | 0f9f29274663 |
children | 682abad78313 |
line wrap: on
line source
class AddIndexToPastesSecret < ActiveRecord::Migration def change add_index :pastes, :secret end end