Cleanup sql

This commit is contained in:
2025-06-28 10:32:45 -07:00
parent eccd7bef5b
commit 281b732c48
+8 -9
View File
@@ -22,17 +22,16 @@ CREATE TABLE IF NOT EXISTS `AccountInventory` (
CREATE TABLE IF NOT EXISTS `Product` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(45) DEFAULT NULL,
`Description` text DEFAULT NULL,
`Description` text,
`Cost` int(11) DEFAULT NULL,
`URL` varchar(200) DEFAULT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID_UNIQUE` (`ID`)
) AUTO_INCREMENT=1;
CREATE TABLE IF NOT EXISTS `ProductImage` (
`ImageID` int(11) NOT NULL AUTO_INCREMENT,
`ProductID` int(11) NOT NULL,
'Image' MEDIUMBLOB DEFAULT NULL,
`Image` MEDIUMBLOB,
PRIMARY KEY (`ImageID`,`ProductID`)
) AUTO_INCREMENT=1;
@@ -86,10 +85,10 @@ INSERT INTO Account (
EmailVerified,
PasswordHash
) VALUES (
'1',
1,
'admin',
'admin@mistox.com',
'1',
1,
''
);
@@ -101,10 +100,10 @@ INSERT INTO WebsiteData (
Role,
EmailToken
) VALUES (
'1',
'1',
'5',
'0',
1,
1,
5,
0,
'Admin',
''
);