artifacttextrequiredWhat was released
Becomes the column artifact of release.
Written at commons/data/models/operations/mod.ts:121
One version of an artifact (a pipeline, a model, a schema) that was cut for release, with when and what evidence it carries
Model operations. Written in commons/data/models/operations/mod.ts:121. Identified by releaseId.
artifacttextrequiredWhat was released
Becomes the column artifact of release.
Written at commons/data/models/operations/mod.ts:121
cutAtinstantrequiredWhen it was cut
Becomes the column cut_at of release.
Written at commons/data/models/operations/mod.ts:121
evidenceReftextoptionalThe test run or report that backs it
Becomes the column evidence_ref of release.
Written at commons/data/models/operations/mod.ts:121
releaseIdidentifierrequiredWhat identifies the release
Becomes the column release_id of release.
Written at commons/data/models/operations/mod.ts:121
versiontextrequiredIts version
Becomes the column version of release.
Written at commons/data/models/operations/mod.ts:121
Projects to the table release with the primary key release_id.
| Column | Type | Null | Role | From |
|---|---|---|---|---|
artifact | text | false | attribute | release.artifact |
cut_at | timestamp | false | attribute | release.cutAt |
evidence_ref | text | true | attribute | release.evidenceRef |
release_id | text | false | attribute | release.releaseId |
version | text | false | attribute | release.version |
CREATE TABLE IF NOT EXISTS "release" (
"release_id" VARCHAR NOT NULL PRIMARY KEY,
"artifact" VARCHAR NOT NULL,
"version" VARCHAR NOT NULL,
"cut_at" TIMESTAMPTZ NOT NULL,
"evidence_ref" VARCHAR,
CONSTRAINT "release_artifact_version_uq" UNIQUE ("artifact", "version")
);CREATE TABLE IF NOT EXISTS "release" (
"release_id" TEXT NOT NULL PRIMARY KEY,
"artifact" TEXT NOT NULL,
"version" TEXT NOT NULL,
"cut_at" TIMESTAMPTZ NOT NULL,
"evidence_ref" TEXT,
CONSTRAINT "release_artifact_version_uq" UNIQUE ("artifact", "version")
);CREATE TABLE IF NOT EXISTS "release" (
"release_id" TEXT NOT NULL PRIMARY KEY,
"artifact" TEXT NOT NULL,
"version" TEXT NOT NULL,
"cut_at" TEXT NOT NULL,
"evidence_ref" TEXT,
CONSTRAINT "release_artifact_version_uq" UNIQUE ("artifact", "version")
);Read and written from TypeScript with the types the model gives: import { release } from "@intellectual-frontiers/data/sql/typed/models". Generated in commons/data/sql/typed/models/operations.auto.ts: do not edit.
import { from } from "@intellectual-frontiers/data/sql/typed";
import { release } from "@intellectual-frontiers/data/sql/typed/models";
const rows = await from(release).select((s) => ({ releaseId: s.release.releaseId, artifact: s.release.artifact })).run(runner);