feat: complete user-facing message and account APIs

This commit is contained in:
2026-07-25 11:39:47 +00:00
parent 579d0a8d4c
commit fbfaf8df81
26 changed files with 1272 additions and 525 deletions
@@ -0,0 +1,6 @@
CREATE TABLE "message_read_state" (
"general_id" INTEGER PRIMARY KEY,
"latest_private_message" INTEGER NOT NULL DEFAULT 0,
"latest_diplomacy_message" INTEGER NOT NULL DEFAULT 0,
"updated_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
);
@@ -0,0 +1,2 @@
ALTER TABLE "nation"
ADD COLUMN "chief_general_id" INTEGER;