- Implemented register date for users

This commit is contained in:
Alexis
2020-12-24 17:55:32 +01:00
parent 772b225072
commit 01df57f510
3 changed files with 15 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `user` (
`mail` VARCHAR(255) NOT NULL,
`avatar` VARCHAR(255),
`gender` VARCHAR(255),
`register_date` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
`password` VARCHAR(255) NOT NULL,
`role_id` INT UNSIGNED NOT NULL DEFAULT 1,
`verified` BOOLEAN DEFAULT false,