about summary refs log tree commit diff
path: root/src/libstore/schema.sql
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-18T13·48+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-18T13·48+0000
commita053d2d8e53f2967c64ab2b204727e4c27f06c0e (patch)
tree31e40ad0c7777ee4782ffb5accd7097128877c55 /src/libstore/schema.sql
parentdbddac0fe91072b402ccb3801c952e3159f0cba4 (diff)
* Add the deriver to the ValidPaths table. In principle we could now
  store all the derivers of a path efficiently.  But that opens a big
  can of worms with respect to garbage collector semantics.

Diffstat (limited to 'src/libstore/schema.sql')
-rw-r--r--src/libstore/schema.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/schema.sql b/src/libstore/schema.sql
index 3c07978fc986..dc53f452c2d6 100644
--- a/src/libstore/schema.sql
+++ b/src/libstore/schema.sql
@@ -4,7 +4,8 @@ create table if not exists ValidPaths (
     id               integer primary key autoincrement not null,
     path             text unique not null,
     hash             text not null,
-    registrationTime integer not null
+    registrationTime integer not null,
+    deriver          text
 );
 
 create table if not exists Refs (