fix length on session table index

This commit is contained in:
Charlie Smurthwaite
2017-04-24 11:27:53 +01:00
parent 6f8b431ab5
commit 1c6369d4ce
2 changed files with 2 additions and 2 deletions
@@ -1,6 +1,6 @@
# This migration comes from authie (originally 20170421174100)
class AddIndexToTokenHashesOnAuthieSessions < ActiveRecord::Migration
def change
add_index :authie_sessions, :token_hash
add_index :authie_sessions, :token_hash, :length => 8
end
end