This commit is contained in:
Jay Trees 2022-01-18 11:57:59 +01:00
parent e259acbd4f
commit 4e7148b8cd

View file

@ -18,7 +18,7 @@ $user = new User();
* Update
*/
if ('POST' === $_SERVER['REQUEST_METHOD']) {
/** Current version is below 0.1.0 */
/** Current version is below 0.2.0 */
if (-1 === version_compare($options->version, '0.2.0')) {
$database->query('ALTER TABLE `users`
ADD `last_login` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `password`,