From 9165243f9f5fda2dfefb4625231b95860ea8672e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 19 Apr 2012 08:24:55 +0200 Subject: reference counting pushed to database implemented simple strategy: don't allow files to be open twice --- schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'schema.sql') diff --git a/schema.sql b/schema.sql index 48afd0e..0550656 100644 --- a/schema.sql +++ b/schema.sql @@ -9,7 +9,7 @@ CREATE TABLE dir ( mode INTEGER NOT NULL DEFAULT 0, uid INTEGER NOT NULL DEFAULT 0, gid INTEGER NOT NULL DEFAULT 0, - inuse BOOL DEFAULT false, + ref_count INTEGER NOT NULL DEFAULT 0, ctime TIMESTAMP, mtime TIMESTAMP, atime TIMESTAMP -- cgit v1.2.3-54-g00ecf