From 1930570ad96e47de9e8557a7734c7bfd9f36f942 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <e.dolstra@tudelft.nl>
Date: Fri, 19 Feb 2010 17:15:22 +0000
Subject: * Foreign key support in SQLite is not a persistent setting, so
 enable   it at startup. * Implement negative caching.  Now `make check'
 passes.

---
 src/libstore/schema.sql | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/libstore/schema.sql')

diff --git a/src/libstore/schema.sql b/src/libstore/schema.sql
index dc53f452c2d6..1e707ce1f41e 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
 );
-- 
cgit 1.4.1

