-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-30797: Password expiry db script #794
Conversation
docs/updating/4_update_2.5.md
Outdated
Run the following script to update the database to cover new password recovery options: | ||
|
||
``` sql | ||
UPDATE ezuser SET password_updated_at = UNIX_TIMESTAMP(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not work on PostgreSQL :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Care to provide what does work? ;)
docs/updating/4_update_2.5.md
Outdated
Run the following script to update the database to cover new password recovery options: | ||
|
||
``` sql | ||
UPDATE ezuser SET password_updated_at = UNIX_TIMESTAMP(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to create password_updated_at
column first by executing:
a) https://github.com/ezsystems/ezpublish-kernel/blob/master/data/update/mysql/dbupdate-7.5.4-to-7.5.5.sql for MySQL
b) https://github.com/ezsystems/ezpublish-kernel/blob/master/data/update/postgres/dbupdate-7.5.4-to-7.5.5.sql for Postgres
Hmmm, maybe we should include this statement into update scripts as well (as it database specific)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow-up to #779, to merge info all branches: adds db update script to enable password expiry options.