| 1 | -- Variables for OxygenFlow jobs (hub spec §13.2, #102), per level: the |
| 2 | -- site (scope_id 0), an organisation or a repository. A job gets its |
| 3 | -- repository's effective set, inner levels overriding outer. Not secrets: |
| 4 | -- those are mounted by Flow (OxygenFlow spec §9), never put in the |
| 5 | -- environment. |
| 6 | ( |
| 7 | scope TEXT NOT NULL CHECK (scope IN ('site', 'org', 'repo')), |
| 8 | scope_id INTEGER NOT NULL DEFAULT 0, |
| 9 | name TEXT NOT NULL, |
| 10 | value TEXT NOT NULL, |
| 11 | updated_ms INTEGER NOT NULL, |
| 12 | PRIMARY KEY (scope, scope_id, name) |
| 13 | ); |