Update databaseGlobals.js

This commit is contained in:
Gilles Lazures 2026-01-18 21:52:01 +01:00
parent 9ac904ba08
commit aacfca136c

View File

@ -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"])