blob: 0b84b1c50053faaf037dbb37f9e9a8da1973f0be (
plain) (
tree)
|
|
-- 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.';
|