Moved interal part of API to differen repository

This commit is contained in:
florian committed 2025-10-03 19:46:03 +02:00
1 parent 0e7d235a6d
commit b2af6fe289
5 files changed
+6 -74

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ CREATE TABLE users (
username VARCHAR(100) UNIQUE NOT NULL,
email VARCHAR(255) UNIQUE NOT NULL,
password_hash CHAR(64) DEFAULT NULL, -- SHA256 hash or similar
api_key CHAR(64) UNIQUE NOT NULL, -- for API authentication
api_key VARCHAR(255) UNIQUE NOT NULL, -- for API authentication
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
last_login TIMESTAMP NULL DEFAULT NULL,
status ENUM('active','inactive','banned') NOT NULL DEFAULT 'active'