diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f10308d..a0ae14b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -22,6 +22,7 @@ }, "args": [ "build", + "--configuration=development", "--base-href=http://localhost:5000" ], "problemMatcher": "$msCompile" diff --git a/database/mistox.sql b/database/mistox.sql index cb19208..fff0eef 100755 --- a/database/mistox.sql +++ b/database/mistox.sql @@ -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', - '' ); \ No newline at end of file diff --git a/src/MistoxWebsite.Client/src/app/app.html b/src/MistoxWebsite.Client/src/app/app.html index 7834107..ad13f46 100644 --- a/src/MistoxWebsite.Client/src/app/app.html +++ b/src/MistoxWebsite.Client/src/app/app.html @@ -41,13 +41,18 @@