Created
April 24, 2018 07:22
-
-
Save zoozalp/6616782cef8ae21540b65984f6433024 to your computer and use it in GitHub Desktop.
Add last password reset date to users table
This file contains hidden or 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
alter table users add last_password_reset_date timestamp; | |
update users set last_password_reset_date = current_date; | |
alter table users alter column last_password_reset_date set not null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment