summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
Diffstat (limited to 'database')
-rw-r--r--database/database.mysql12
-rw-r--r--database/database.pgsql12
-rw-r--r--database/updates.inc12
3 files changed, 33 insertions, 3 deletions
diff --git a/database/database.mysql b/database/database.mysql
index d65c27c69..2e2e8ad55 100644
--- a/database/database.mysql
+++ b/database/database.mysql
@@ -197,7 +197,17 @@ CREATE TABLE comments (
) TYPE=MyISAM;
--
--- Table structre for table 'node_last_comment'
+-- Table structre for table 'contact'
+--
+
+CREATE TABLE contact (
+ subject varchar(255) NOT NULL default '',
+ recipients longtext NOT NULL default '',
+ reply longtext NOT NULL default ''
+);
+
+--
+-- Table structre for table 'node_comment_statistics'
--
CREATE TABLE node_comment_statistics (
diff --git a/database/database.pgsql b/database/database.pgsql
index 54a1426fb..1fa3d1634 100644
--- a/database/database.pgsql
+++ b/database/database.pgsql
@@ -196,7 +196,17 @@ CREATE TABLE comments (
CREATE INDEX comments_nid_idx ON comments(nid);
--
--- Table structre for table 'node_last_comment'
+-- Table structre for table 'contact'
+--
+
+CREATE TABLE contact (
+ subject varchar(255) NOT NULL default '',
+ recipients longtext NOT NULL default '',
+ reply longtext NOT NULL default ''
+);
+
+--
+-- Table structre for table 'node_comment_statistics'
--
CREATE TABLE node_comment_statistics (
diff --git a/database/updates.inc b/database/updates.inc
index aec3e1ef6..aef73c8c2 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -108,7 +108,8 @@ $sql_updates = array(
"2005-04-08: first update since Drupal 4.6.0 release" => "update_129",
"2005-04-10" => "update_130",
"2005-04-11" => "update_131",
- "2005-04-14" => "update_132"
+ "2005-04-14" => "update_132",
+ "2005-04-20" => "update_133"
);
function update_32() {
@@ -2405,6 +2406,15 @@ function update_132() {
return $ret;
}
+function update_133() {
+ $ret[] = update_sql("CREATE TABLE contact (
+ subject varchar(255) NOT NULL default '',
+ recipients longtext NOT NULL default '',
+ reply longtext NOT NULL default ''
+ )");
+
+ return $ret;
+}
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);