better documentation

This commit is contained in:
2025-09-11 20:13:45 +02:00
parent dadc36785e
commit 8ba34f78a9
5 changed files with 310 additions and 175 deletions

View File

@@ -23,9 +23,9 @@ const migrations = [
await conn.query(`
CREATE TABLE users (
id INT PRIMARY KEY AUTO_INCREMENT,
username VARCHAR(32) NOT NULL UNIQUE
username VARCHAR(64) NOT NULL UNIQUE
)
`);
`); // max length is double the actual max length cause of unicode stuff
await conn.query(`
CREATE TABLE games (