Account table in DB has to perisist right now

This commit is contained in:
2025-07-30 21:23:55 -07:00
parent d0a01c7d3f
commit f804b12506
2 changed files with 24 additions and 12 deletions
+19
View File
@@ -1,6 +1,25 @@
CREATE DATABASE IF NOT EXISTS `boredcareers`;
USE `boredcareers`;
-- Account Section
CREATE TABLE IF NOT EXISTS `Account` (
`ID` int NOT NULL AUTO_INCREMENT,
`UserName` varchar(60) NOT NULL,
`Email` varchar(255) NOT NULL,
`EmailVerified` boolean DEFAULT 0,
`PasswordHash` char(60) DEFAULT NULL,
`FailedPasswordLock` boolean DEFAULT 0,
`PasswordAttempts` int(11) DEFAULT NULL,
`CurrentPasswordAttempts` int(11) DEFAULT NULL,
`Role` varchar(45) DEFAULT NULL,
`EmailToken` varchar(45) DEFAULT NULL,
`DataServer` varchar(200) DEFAULT NULL,
UNIQUE(`Email`),
UNIQUE(`UserName`),
PRIMARY KEY (`ID`)
) AUTO_INCREMENT=1;
-- Resume Section
CREATE TABLE IF NOT EXISTS `Resume` (