Update to use Auth.Mistox.Com
Docker Build and Release Upload / build (push) Successful in 1m25s

This commit is contained in:
2025-08-07 23:22:53 -07:00
parent 8ce7df46c2
commit 10868018fb
35 changed files with 216 additions and 1151 deletions
-39
View File
@@ -1,20 +1,6 @@
CREATE DATABASE IF NOT EXISTS `mistox`;
USE `mistox`;
CREATE TABLE IF NOT EXISTS `Account` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`UserName` varchar(60) DEFAULT NULL,
`Email` varchar(60) DEFAULT NULL,
`EmailVerified` tinyint(4) DEFAULT NULL,
`PasswordHash` varchar(100) DEFAULT NULL,
`FailedPasswordLock` tinyint(4) DEFAULT NULL,
`PasswordAttempts` int(11) DEFAULT NULL,
`CurrentPasswordAttempts` int(11) DEFAULT NULL,
`Role` varchar(45) DEFAULT NULL,
`EmailToken` varchar(45) DEFAULT NULL,
PRIMARY KEY (`ID`)
) AUTO_INCREMENT=1;
CREATE TABLE IF NOT EXISTS `Product` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(45) DEFAULT NULL,
@@ -60,29 +46,4 @@ CREATE TABLE IF NOT EXISTS `Receipt` (
`TaxAmount` int(11) DEFAULT NULL,
`TotalCost` int(11) DEFAULT NULL,
PRIMARY KEY (`AccountID`,`ProductID`,`ReceiptID`)
);
INSERT INTO Account (
ID,
UserName,
Email,
EmailVerified,
PasswordHash,
FailedPasswordLock,
PasswordAttempts,
CurrentPasswordAttempts,
Role,
EmailToken
) VALUES (
1,
'admin',
'admin@mistox.com',
1,
'$2a$11$0UeWLLqTXe3FG161QVuI0OQJ9rulspUpMG581DI6KSzDXBbFKd00S',
1,
1,
5,
0,
'Admin',
''
);