Move DB_UPDATE_VERSION from boot.php to config/dbstructure.php

This commit is contained in:
Hypolite Petovan 2018-10-21 01:58:10 -04:00
commit 19ffc0510b
5 changed files with 13 additions and 4 deletions

View file

@ -27,11 +27,16 @@
* ],
* ],
*
* If you need to make any change, make sure to increment the DB_UPDATE_VERSION constant value below.
*
*/
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1289);
}
return [
"addon" => [
"comment" => "registered addons",