comparison db/migrate/20130512032335_add_index_to_pastes_secret.rb @ 333:682abad78313

Documentation and line length.
author edogawaconan <me@myconan.net>
date Mon, 14 Apr 2014 17:32:12 +0900
parents 0f9f29274663
children 4608d12ebe03
comparison
equal deleted inserted replaced
332:a999250e57c4 333:682abad78313
1 # Speed up lookup.
1 class AddIndexToPastesSecret < ActiveRecord::Migration 2 class AddIndexToPastesSecret < ActiveRecord::Migration
2 def change 3 def change
3 add_index :pastes, :secret 4 add_index :pastes, :secret
4 end 5 end
5 end 6 end