Merge polecat/Nux: exclude pinned from bd blocked

This commit is contained in:
Steve Yegge
2025-12-19 01:27:41 -08:00
3 changed files with 11 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ CREATE TABLE IF NOT EXISTS issues (
pinned INTEGER DEFAULT 0,
-- NOTE: replies_to, relates_to, duplicate_of, superseded_by removed per Decision 004
-- These relationships are now stored in the dependencies table
-- Workflow fields
pinned INTEGER DEFAULT 0,
CHECK ((status = 'closed') = (closed_at IS NOT NULL))
);