issue: order by last update, changed on reply
[minimedit.git] / widget / comments.sql
index 5e33716da32f7843e95e441c797e0ee36fb9543c..924c136e3a385d9d489d62f3cd92e155dedad69b 100644 (file)
@@ -5,6 +5,7 @@ CREATE TABLE issues (
        body       text,
        created    timestamptz          DEFAULT now(),
        closed     timestamptz          DEFAULT now(),
+       updated    timestamptz NOT NULL DEFAULT now(),
        author     text,
        id         serial      NOT NULL PRIMARY KEY
 );