Mercurial > dive4elements > framework
view 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 |
line wrap: on
line source
-- -- schema to store artifacts in H2 databases. -- BEGIN; CREATE TABLE artifacts ( id INT AUTO_INCREMENT PRIMARY KEY NOT NULL, gid UUID NOT NULL UNIQUE, creation TIMESTAMP NOT NULL, last_access TIMESTAMP NOT NULL, ttl TIME, -- NULL means eternal data BLOB ); COMMIT;