X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/c824b14c0f6fb372ca4e72fe244b3aade6c29541..2477e787850b513cde668b6ba91297466ff31a54:/widget/comments.sql diff --git a/widget/comments.sql b/widget/comments.sql index 924c136..2a4993b 100644 --- a/widget/comments.sql +++ b/widget/comments.sql @@ -7,6 +7,7 @@ CREATE TABLE issues ( closed timestamptz DEFAULT now(), updated timestamptz NOT NULL DEFAULT now(), author text, + assign text, id serial NOT NULL PRIMARY KEY ); @@ -17,3 +18,12 @@ CREATE TABLE comments ( author text, id serial NOT NULL PRIMARY KEY ); + +CREATE TABLE journal ( + comment_id integer NOT NULL REFERENCES comments (id), + property text NOT NULL DEFAULT 'attr', + col text NOT NULL, + old_value text, + value text, + id serial NOT NULL PRIMARY KEY +);