diff db/migrate/20130512032335_add_index_to_pastes_secret.rb @ 221:0f9f29274663

Add index to pastes.secret
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 12:25:27 +0900
parents
children 682abad78313
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/migrate/20130512032335_add_index_to_pastes_secret.rb	Sun May 12 12:25:27 2013 +0900
@@ -0,0 +1,5 @@
+class AddIndexToPastesSecret < ActiveRecord::Migration
+  def change
+    add_index :pastes, :secret
+  end
+end