Last active
December 14, 2015 04:59
-
-
Save jtperreault/5032517 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE UNIQUE NONCLUSTERED INDEX index_users_reset_password_token | |
ON dbo.users (reset_password_token) | |
WHERE reset_password_token IS NOT NULL | |
ALTER INDEX index_users_on_reset_password_token | |
ON dbo.users (reset_password_token) | |
WHERE reset_password_token IS NOT NULL | |
REBUILD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment