rm db / updates main.py rooms.py

This commit is contained in:
ben
2026-08-04 10:11:46 +02:00
parent 64803eb343
commit d2bd05c660
4 changed files with 129 additions and 5 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ CREATE TABLE IF NOT EXISTS users (
cur.execute("""
CREATE TABLE IF NOT EXISTS rooms (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
name TEXT NOT NULL UNIQUE,
owner_id INTEGER NOT NULL,
invite_code TEXT NOT NULL UNIQUE,