summaryrefslogtreecommitdiff
path: root/makima/migrations
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-04-29 01:10:11 +0100
committerGitHub <noreply@github.com>2026-04-29 01:10:11 +0100
commit4b1d608b839769052634b4facc345b891d468926 (patch)
tree1d5ff45b5b34b2e3e378a4cf69fd62ff39cf12de /makima/migrations
parent5bde7c2d7e099fd9c8b2615602ab1d096bd9b6be (diff)
downloadsoryu-4b1d608b839769052634b4facc345b891d468926.tar.gz
soryu-4b1d608b839769052634b4facc345b891d468926.zip
feat: document-mode directive UI proof of concept (Lexical) (#101)
* WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Backend: feature flag + goal-edit interrupt messaging * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Frontend: Lexical document editor with step blocks, context menu, countdown
Diffstat (limited to 'makima/migrations')
-rw-r--r--makima/migrations/20260305000000_add_user_settings.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/makima/migrations/20260305000000_add_user_settings.sql b/makima/migrations/20260305000000_add_user_settings.sql
new file mode 100644
index 0000000..0b84b1c
--- /dev/null
+++ b/makima/migrations/20260305000000_add_user_settings.sql
@@ -0,0 +1,11 @@
+-- Add user-level settings columns.
+--
+-- For now we only add a per-user feature flag controlling whether the user
+-- sees the new "document mode" UI. Defaults to FALSE so existing users are
+-- unaffected; the frontend gates on this flag.
+
+ALTER TABLE users
+ ADD COLUMN IF NOT EXISTS document_mode_enabled BOOLEAN NOT NULL DEFAULT FALSE;
+
+COMMENT ON COLUMN users.document_mode_enabled IS
+ 'Per-user feature flag: when true, the frontend shows the new document-mode UI.';