fixes #123: Tags aren't alphabetized

This commit is contained in:
albert
2011-10-14 14:28:04 -04:00
parent 13e8574c64
commit 4abf66cf44
9 changed files with 228 additions and 6 deletions

View File

@@ -6,6 +6,9 @@ class CreatePostVotes < ActiveRecord::Migration
t.column :score, :integer, :null => false
t.timestamps
end
add_index :post_votes, :post_id
add_index :post_votes, :user_id
end
def self.down