aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-03 01:16:17 -0700
committerFriendika <info@friendika.com>2011-06-03 01:16:17 -0700
commita27391c33a6b2d3828182ca5f8e8b65998cf47a7 (patch)
treec49d6ddd2e5689a3493cda27dadcc549748e12ee /update.php
parentf2bdcb19e7f2748d3c368ab11deeb98d63fedca7 (diff)
downloadvolse-hubzilla-a27391c33a6b2d3828182ca5f8e8b65998cf47a7.tar.gz
volse-hubzilla-a27391c33a6b2d3828182ca5f8e8b65998cf47a7.tar.bz2
volse-hubzilla-a27391c33a6b2d3828182ca5f8e8b65998cf47a7.zip
facebook queueing on failure, sync update.php with boot.php update version to avoid race condition
Diffstat (limited to 'update.php')
-rw-r--r--update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php
index a53e4df78..be1b184ae 100644
--- a/update.php
+++ b/update.php
@@ -1,5 +1,7 @@
<?php
+define( 'UPDATE_VERSION' , 1060 );
+
/**
*
* update.php - automatic system update
@@ -28,7 +30,7 @@
* 2. Update this file by adding a new function at the end with the number of the current DB_UPDATE_VERSION.
* This function should modify the current database schema and perform any other steps necessary
* to ensure that upgrade is silent and free from requiring interaction.
- * 3. Increment the DB_UPDATE_VERSION in boot.php
+ * 3. Increment the DB_UPDATE_VERSION in boot.php *AND* the UPDATE_VERSION in this file to match it
* 4. TEST the upgrade prior to checkin and filing a pull request.
*
*/
@@ -499,3 +501,8 @@ function update_1057() {
function update_1058() {
q("ALTER TABLE `item` ADD `event-id` INT NOT NULL AFTER `resource-id` ");
}
+
+function update_1059() {
+ q("ALTER TABLE `queue` ADD `network` CHAR( 32 ) NOT NULL AFTER `cid` ");
+}
+