diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-19 17:15:22 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-19 17:15:22 +0000 |
commit | 1930570ad96e47de9e8557a7734c7bfd9f36f942 (patch) | |
tree | ed4eb236f6e7935a955659105821f1e9beadef65 /src/libstore/schema.sql | |
parent | 9c9a88e9e25bdc4456368a40691e61acf5d3b330 (diff) |
* Foreign key support in SQLite is not a persistent setting, so enable
it at startup.
* Implement negative caching. Now `make check' passes.
Diffstat (limited to 'src/libstore/schema.sql')
-rw-r--r-- | src/libstore/schema.sql | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/schema.sql b/src/libstore/schema.sql index dc53f452c..1e707ce1f 100644 --- a/src/libstore/schema.sql +++ b/src/libstore/schema.sql @@ -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 ); |