annotate db/migrate/20130512032335_add_index_to_pastes_secret.rb @ 301:2fb00d365745

Add set -x to view commands executed for test.
author edogawaconan <me@myconan.net>
date Wed, 12 Feb 2014 15:44:36 +0900
parents 0f9f29274663
children 682abad78313
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
221
0f9f29274663 Add index to pastes.secret
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 class AddIndexToPastesSecret < ActiveRecord::Migration
0f9f29274663 Add index to pastes.secret
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 def change
0f9f29274663 Add index to pastes.secret
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 add_index :pastes, :secret
0f9f29274663 Add index to pastes.secret
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 end
0f9f29274663 Add index to pastes.secret
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 end