]> git.mxchange.org Git - friendica.git/blobdiff - update.php
use atom_time on atom entries
[friendica.git] / update.php
index 30ebd66f2811ced19ec6097684daf3faaf11bb72..541a12ef56fbbb879f7b99d4b292c75f0bd8ae90 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+define( 'UPDATE_VERSION' , 1064 );
+
 /**
  *
  * 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.
  *
  */
@@ -495,3 +497,27 @@ function update_1056() {
 function update_1057() {
        q("ALTER TABLE `attach` ADD `filename` CHAR( 255 ) NOT NULL AFTER `hash` ");
 }
+
+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` ");
+}
+
+function update_1060() {
+       q("ALTER TABLE `event` ADD `uri` CHAR( 255 ) NOT NULL AFTER `cid` ");
+}
+
+function update_1061() {
+       q("ALTER TABLE `event` ADD `nofinish` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `type` ");
+}
+
+function update_1062() {
+       q("ALTER TABLE `user` ADD `prvnets` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `page-flags` ");
+}
+function update_1063() {
+       q("ALTER TABLE `addon` ADD `plugin_admin` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `timestamp` ");
+}
+