aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/schema.sql
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-19 17:15:22 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-19 17:15:22 +0000
commit1930570ad96e47de9e8557a7734c7bfd9f36f942 (patch)
treeed4eb236f6e7935a955659105821f1e9beadef65 /src/libstore/schema.sql
parent9c9a88e9e25bdc4456368a40691e61acf5d3b330 (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.sql4
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
);