mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-28 21:50:26 +08:00
33 lines
966 B
SQL
33 lines
966 B
SQL
--
|
|
-- Service configuration schema.
|
|
--
|
|
|
|
-- Node tracking policy.
|
|
create table if not exists "node-policies" (
|
|
-- Node ID.
|
|
"id" text primary key not null,
|
|
-- Node alias. May override the alias announced by the node.
|
|
"alias" text default '',
|
|
-- Tracking policy for this node.
|
|
"policy" text default 'track'
|
|
--
|
|
) strict;
|
|
|
|
-- Repository tracking policy.
|
|
create table if not exists "repo-policies" (
|
|
-- Repository ID.
|
|
"id" text primary key not null,
|
|
-- Tracking scope for this repository.
|
|
--
|
|
-- Valid values are:
|
|
--
|
|
-- "trusted" track repository delegates and remotes in the `node-policies` table.
|
|
-- "delegates-only" only track repository delegates.
|
|
-- "all" track all remotes.
|
|
--
|
|
"scope" text default 'trusted',
|
|
-- Tracking policy for this repository.
|
|
"policy" text default 'track'
|
|
--
|
|
) strict;
|