diff -u -r1.1 version.php
--- a/question/type/rqp/version.php	24 Mar 2006 19:31:48 -0000	1.1
+++ b/question/type/rqp/version.php	7 Nov 2007 04:58:08 -0000
@@ -1,6 +1,6 @@
 <?PHP // $Id: version.php,v 1.1 2006/03/24 19:31:48 gustav_delius Exp $
 
-$plugin->version  = 2006032200;
+$plugin->version  = 2006032201;
 $plugin->requires = 2006032200;
 
 ?>
diff -u -r1.2 postgres7.php
--- a/question/type/rqp/db/postgres7.php	16 Apr 2006 16:50:56 -0000	1.2
+++ b/question/type/rqp/db/postgres7.php	7 Nov 2007 04:58:08 -0000
@@ -5,6 +5,16 @@
 function qtype_rqp_upgrade($oldversion=0) {
     global $CFG;
 
+    if ($oldversion < 2006032201) {
+        modify_database('','CREATE TABLE prefix_question_rqp_servers (
+                            id SERIAL PRIMARY KEY,
+                            typeid integer NOT NULL default 0,
+                            url varchar(255) NOT NULL default \'\',
+                            can_render INT4 NOT NULL default 0,
+                            can_author INT4 NOT NULL default 0
+                       );');
+    }
+
     return true;
 }
 
diff -u -r1.1 postgres7.sql
--- a/question/type/rqp/db/postgres7.sql	5 Apr 2006 06:11:43 -0000	1.1
+++ b/question/type/rqp/db/postgres7.sql	7 Nov 2007 04:58:08 -0000
@@ -17,6 +17,19 @@
 
 CREATE INDEX prefix_question_rqp_question_idx ON prefix_question_rqp (question);
 
+# --------------------------------------------------------
+
+#
+# Table structure for table prefix_question_rqp_servers
+#
+
+CREATE TABLE prefix_question_rqp_servers (
+  id SERIAL PRIMARY KEY,
+  typeid integer NOT NULL default '0',
+  url varchar(255) NOT NULL default '',
+  can_render INT4 NOT NULL default '0',
+  can_author INT4 NOT NULL default '0'
+);
 
 # --------------------------------------------------------
 
