aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-28 21:41:42 -0700
committerFriendika <info@friendika.com>2011-08-28 21:41:42 -0700
commit846c4cea7c0e3868a63a187ee9a504a031b2a7e4 (patch)
tree034407e183dfb95ce9ef77cbe6a5af73377e2090 /update.php
parentf29f228463d35f574d6d285be0cf337b7d39c541 (diff)
downloadvolse-hubzilla-846c4cea7c0e3868a63a187ee9a504a031b2a7e4.tar.gz
volse-hubzilla-846c4cea7c0e3868a63a187ee9a504a031b2a7e4.tar.bz2
volse-hubzilla-846c4cea7c0e3868a63a187ee9a504a031b2a7e4.zip
implement delivery queue in case notifier gets killed
Diffstat (limited to 'update.php')
-rw-r--r--update.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/update.php b/update.php
index c23ce95c6..14bc48ab7 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1083 );
+define( 'UPDATE_VERSION' , 1084 );
/**
*
@@ -697,3 +697,13 @@ function update_1082() {
}
}
}
+
+function update_1083() {
+ q("CREATE TABLE IF NOT EXISTS `deliverq` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `cmd` CHAR( 32 ) NOT NULL ,
+ `item` INT NOT NULL ,
+ `contact` INT NOT NULL
+ ) ENGINE = MYISAM ;");
+
+} \ No newline at end of file