Mercurial > dive4elements > framework
view artifact-database/doc/schema.sql @ 4:13a12b607baf
Added mechanism to create an share a global context in the artifact database.
artifacts/trunk@13 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 08:32:09 +0000 |
parents | b1ec257e9d8d |
children | e8626caac353 |
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 BINARY ); COMMIT;