aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/ca-specific-schema.sql
blob: 93c4428269010cc3457305d47627a5b976c91797 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- Extension of the sql schema for content-addressed derivations.
-- Won't be loaded unless the experimental feature `ca-derivations`
-- is enabled

create table if not exists Realisations (
    drvPath text not null,
    outputName text not null, -- symbolic output id, usually "out"
    outputPath integer not null,
    primary key (drvPath, outputName),
    foreign key (outputPath) references ValidPaths(id) on delete cascade
);