changes to the db for the previous patch.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Tue, 15 Sep 2009 00:48:35 +0000 (00:48 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Tue, 15 Sep 2009 00:48:35 +0000 (00:48 +0000)
upgrade/monitor-server-3.0-21.sql [new file with mode: 0644]

diff --git a/upgrade/monitor-server-3.0-21.sql b/upgrade/monitor-server-3.0-21.sql
new file mode 100644 (file)
index 0000000..feb3b2c
--- /dev/null
@@ -0,0 +1,11 @@
+-- If there's an existing database, these commands will upgrade it to the
+-- current version
+
+-- ALTER TABLE historysiterecord ADD COLUMN message_last_reply timestamp without time zone DEFAULT NULL;
+-- ALTER TABLE historysiterecord_history ADD COLUMN message_last_reply timestamp without time zone DEFAULT NULL;
+
+ALTER TABLE historysiterecord ADD COLUMN penalty_pause boolean DEFAULT False;
+ALTER TABLE historysiterecord_history ADD COLUMN penalty_pause boolean DEFAULT False;
+
+ALTER TABLE historysiterecord ADD COLUMN penalty_pause_time timestamp without time zone DEFAULT NULL;
+ALTER TABLE historysiterecord_history ADD COLUMN penalty_pause_time timestamp without time zone DEFAULT NULL;