[Fix] Durability

This commit is contained in:
Alex Emmet 2026-08-30 21:28:14 +02:00
commit c2e7061041
No known key found for this signature in database
5 changed files with 13 additions and 3 deletions

View file

@ -15,6 +15,7 @@ CREATE TABLE IF NOT EXISTS users (
sub_end BIGINT NOT NULL DEFAULT 0,
public_key BLOB NOT NULL,
token BLOB NOT NULL,
created_at TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
UNIQUE KEY uk_users_username (username),
KEY idx_users_iota_id (iota_id),