Skip to content
13 linesCodeBlameRaw
1-- Managed workflows (src/managed.rs): workflows installed into a repository
2-- without being committed to it, such as the one deployments install for a
3-- project. Each runs under the path `managed/<name>.yml`; a workflow of the
4-- same `name:` in the repository's own folder runs in its place.
5CREATE TABLE IF NOT EXISTS managed_workflows (
6 repo_id TEXT NOT NULL,
7 name TEXT NOT NULL,
8 source TEXT NOT NULL,
9 -- What installed it and keeps it: `deployments`, or a workspace's id.
10 origin TEXT NOT NULL,
11 updated_at TEXT NOT NULL,
12 PRIMARY KEY (repo_id, name)
13);