From: Domovoy Date: Mon, 23 Jul 2012 23:21:02 +0000 (+0200) Subject: Database can now be automatically updated X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c052c6afca08eff24c0b4b95c7bde1e9ee2c4e31;p=friendica.git Database can now be automatically updated --- diff --git a/boot.php b/boot.php index 3a541a272e..bcff5dddd2 100644 --- a/boot.php +++ b/boot.php @@ -12,7 +12,7 @@ require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_VERSION', '3.0.1412' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1153 ); +define ( 'DB_UPDATE_VERSION', 1154 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/database.sql b/database.sql index 1d0a321760..80ce05ba0c 100644 --- a/database.sql +++ b/database.sql @@ -456,6 +456,7 @@ CREATE TABLE IF NOT EXISTS `hook` ( `hook` char(255) NOT NULL, `file` char(255) NOT NULL, `function` char(255) NOT NULL, + `priority` int(11) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; diff --git a/update.php b/update.php index d752eaa6df..9442f825bb 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@