aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
authormatthew <matthew>2007-05-09 11:01:43 +0000
committermatthew <matthew>2007-05-09 11:01:43 +0000
commite403d899a6d16477d84da8954e53b19311c428bc (patch)
tree88a9f7cb2f85e4b331e90712a8a030d6809b52e0 /db/schema.sql
parentf2accef22501332e150a1ba0f1743bbf5fd781cf (diff)
Add laststatechange field.
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql
index f000482f8..a9f7ec2bc 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -4,7 +4,7 @@
-- Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
-- Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
--
--- $Id: schema.sql,v 1.27 2007-05-04 14:36:55 matthew Exp $
+-- $Id: schema.sql,v 1.28 2007-05-09 11:01:43 matthew Exp $
--
-- secret
@@ -145,6 +145,7 @@ create table problem (
or state = 'fixed'
or state = 'hidden'
),
+ laststatechange timestamp not null default ms_current_timestamp(),
whensent timestamp,
send_questionnaire boolean not null default 't'
);