summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-17 10:39:29 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-17 10:39:29 +0200
commit2f536fe73d0a98648752b9ac6ca2d2e469afbe4e (patch)
treefa020353bc5b6edabfd97ec903cd322785aeeec7 /schema.sql
parent0548acb4159a3348b8467189bdc6f2eafa9649d8 (diff)
downloadpgfuse-2f536fe73d0a98648752b9ac6ca2d2e469afbe4e.tar.gz
pgfuse-2f536fe73d0a98648752b9ac6ca2d2e469afbe4e.tar.bz2
storing ctime,mtime,atime now, mtime and atime are not set correctly everywhere yet
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema.sql b/schema.sql
index cefc4ea..0b54009 100644
--- a/schema.sql
+++ b/schema.sql
@@ -47,5 +47,5 @@ CREATE OR REPLACE RULE "dir_remove" AS ON
-- self-referencing anchor for root directory
-- 16895 = S_IFDIR and 0777 permissions
-- TODO: should be done from outside, see note above
-INSERT INTO dir( id, parent_id, name, path, size, mode, uid, gid )
- VALUES( 0, 0, '/', '/', 0, 16895, 0, 0 );
+INSERT INTO dir( id, parent_id, name, path, size, mode, uid, gid, ctime, mtime, atime )
+ VALUES( 0, 0, '/', '/', 0, 16895, 0, 0, NOW( ), NOW( ), NOW( ) );