refactor: rename lockerNumber to safe_nr and update related logic

This commit is contained in:
2025-11-23 21:52:12 +01:00
parent 85e6d7fe00
commit cb6b5858e5
3 changed files with 7 additions and 12 deletions

View File

@@ -47,10 +47,6 @@ CREATE TABLE items (
UNIQUE KEY ux_items_safe_nr (safe_nr)
) ENGINE=InnoDB;
CREATE UNIQUE INDEX ux_items_safe_nr_not_null
ON items (safe_nr)
WHERE safe_nr IS NOT NULL;
CREATE TABLE apiKeys (
id INT NOT NULL AUTO_INCREMENT,
api_key CHAR(8) NOT NULL UNIQUE,