comparison artifact-database/doc/schema-h2.sql @ 229:328ef982d768

When an artifact is touched the collections which contain the artifact are touched, too. artifacts/trunk@1631 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 31 Mar 2011 08:58:42 +0000
parents face2302387c
children aa9f2f5ff032
comparison
equal deleted inserted replaced
228:dd977fb7552e 229:328ef982d768
48 artifact_id INT NOT NULL REFERENCES artifacts(id), 48 artifact_id INT NOT NULL REFERENCES artifacts(id),
49 attribute BINARY, 49 attribute BINARY,
50 UNIQUE (collection_id, artifact_id) 50 UNIQUE (collection_id, artifact_id)
51 ); 51 );
52 52
53 CREATE TRIGGER collections_access_update_trigger AFTER UPDATE
54 ON TABLE artifacts FOR EACH ROW
55 CALL "de.intevation.artifactdatabase.h2.CollectionAccessUpdateTrigger";
56
53 COMMIT; 57 COMMIT;

http://dive4elements.wald.intevation.org