Update databaseGlobals.js
This commit is contained in:
parent
9ac904ba08
commit
aacfca136c
@ -230,7 +230,7 @@ async function setupDatabase() {
|
|||||||
isSelected TINYINT(1) DEFAULT 0,
|
isSelected TINYINT(1) DEFAULT 0,
|
||||||
createdAt DATETIME DEFAULT CURRENT_TIMESTAMP,
|
createdAt DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||||
FOREIGN KEY (playerUuid) REFERENCES players(uuid) ON DELETE CASCADE,
|
FOREIGN KEY (playerUuid) REFERENCES players(uuid) ON DELETE CASCADE,
|
||||||
FOREIGN KEY (assetHash) REFERENCES textures(hash)
|
FOREIGN KEY (assetHash) REFERENCES textures(hash) ON DELETE CASCADE
|
||||||
)
|
)
|
||||||
`)
|
`)
|
||||||
logger.log(`${"playersCapes".bold} table ready`, ["MariaDB", "yellow"])
|
logger.log(`${"playersCapes".bold} table ready`, ["MariaDB", "yellow"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user