comparison artifact-database/doc/schema.sql @ 3:b1ec257e9d8d

Added dependencies to H2 and restlet. artifacts/trunk@11 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 03 Sep 2009 16:13:25 +0000
parents
children 13a12b607baf
comparison
equal deleted inserted replaced
2:141457e0d7b1 3:b1ec257e9d8d
1 --
2 -- schema to store artifacts in H2 databases.
3 --
4
5 BEGIN;
6
7 CREATE TABLE artifacts (
8 id INT AUTO_INCREMENT PRIMARY KEY NOT NULL,
9 gid UUID NOT NULL UNIQUE,
10 creation TIMESTAMP NOT NULL,
11 last_access TIMESTAMP NOT NULL,
12 ttl TIME, -- NULL means eternal
13 data BLOB
14 );
15
16 COMMIT;

http://dive4elements.wald.intevation.org