fix length on session table index
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user