1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

* Foreign key support in SQLite is not a persistent setting, so enable

it at startup.
* Implement negative caching.  Now `make check' passes.
This commit is contained in:
Eelco Dolstra 2010-02-19 17:15:22 +00:00
parent 9c9a88e9e2
commit 1930570ad9
4 changed files with 25 additions and 29 deletions

View file

@ -1,5 +1,3 @@
pragma foreign_keys = on;
create table if not exists ValidPaths (
id integer primary key autoincrement not null,
path text unique not null,
@ -19,7 +17,7 @@ create table if not exists Refs (
create index if not exists IndexReferrer on Refs(referrer);
create index if not exists IndexReference on Refs(reference);
create table if not exists FailedDerivations (
create table if not exists FailedPaths (
path text primary key not null,
time integer not null
);