From c8b169da8cb7eae0957e0ab5e7370b071093a224 Mon Sep 17 00:00:00 2001
From: soryu <soryu@soryu.co>
Date: Tue, 28 Apr 2026 00:18:40 +0100
Subject: feat: Document UI for directive orchestration with Lexical editor
 (#93)

* WIP: heartbeat checkpoint

* feat: soryu-co/soryu - makima: Save previous goal on update and include history in re-planning prompt

* feat: soryu-co/soryu - makima: Install Lexical and create base document editor component

* feat: soryu-co/soryu - makima: Create directive file system sidebar and document layout

* feat: soryu-co/soryu - makima: Create custom Lexical step diagram block

* feat: soryu-co/soryu - makima: Add context menu and goal auto-update integration

* WIP: heartbeat checkpoint
---
 makima/migrations/20260427000000_create_user_settings.sql | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 makima/migrations/20260427000000_create_user_settings.sql

(limited to 'makima/migrations/20260427000000_create_user_settings.sql')

diff --git a/makima/migrations/20260427000000_create_user_settings.sql b/makima/migrations/20260427000000_create_user_settings.sql
new file mode 100644
index 0000000..60acbcc
--- /dev/null
+++ b/makima/migrations/20260427000000_create_user_settings.sql
@@ -0,0 +1,11 @@
+-- Create user_settings table for per-user feature flags and preferences
+CREATE TABLE IF NOT EXISTS user_settings (
+    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
+    owner_id UUID NOT NULL,
+    key TEXT NOT NULL,
+    value JSONB NOT NULL DEFAULT '"false"'::jsonb,
+    created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
+    updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
+    UNIQUE(owner_id, key)
+);
+CREATE INDEX idx_user_settings_owner ON user_settings(owner_id);
-- 
cgit v1.2.3

