feat: rate limiter, users table, validation, servers split up, graceful quit, user functions

This commit is contained in:
jonas committed 2026-03-25 08:57:50 +01:00
1 parent 7d81d1505a
commit 095f7aabeb
12 files changed
+449 -54

No files matched your search

@@ -0,0 +1,2 @@
DROP TABLE IF EXISTS users;
@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS users (
id bigserial PRIMARY KEY,
created_at timestamp(0) with time zone NOT NULL DEFAULT NOW(),
name text NOT NULL,
email citext UNIQUE NOT NULL,
password_hash bytea NOT NULL,
activated bool NOT NULL,
version integer NOT NULL DEFAULT 1
);