OXYGENHUB
# c7161ec1a607 spectra / crates / spectra-core / migrations / 0006_briefs.sql
405 B · SQL · last changed Briefs and Radar's Constellation (#29, #30); spec Draft 0.6 1 day ago source blame history raw
1
-- Briefs (spec §12.1): the current text of each layer. Every change is a
2
-- brief.set event signed by the owner; the ledger holds the history.
3
CREATE TABLE briefs (
4
    layer    TEXT NOT NULL,               -- overall | project
5
    project  TEXT NOT NULL DEFAULT '',    -- the project, for the project layer
6
    text     TEXT NOT NULL,
7
    seq      INTEGER NOT NULL,
8
    PRIMARY KEY (layer, project)
9
);