Compute checksums of segments and store them in the local database.
[cumulus.git] / schema.sql
index 1a7e5ee..a37b501 100644 (file)
@@ -7,13 +7,16 @@
 create table snapshots (
     snapshotid integer primary key,
     name text not null,
+    scheme text,
     timestamp real
 );
 
 -- List of segments which have been created.
 create table segments (
     segmentid integer primary key,
-    segment text unique not null
+    segment text unique not null,
+    path text,
+    checksum text
 );
 
 -- Index of all blocks which have been stored in a snapshot, by checksum.