diff --git a/boot.php b/boot.php index 17dc6406d..76b099840 100755 --- a/boot.php +++ b/boot.php @@ -16,7 +16,7 @@ use Zotlabs\Daemon\Run; * @brief This file defines some global constants and includes the central App class. */ -define ( 'STD_VERSION', '21.01.30' ); +define ( 'STD_VERSION', '21.02.05' ); define ( 'ZOT_REVISION', '6.0' ); define ( 'DB_UPDATE_VERSION', 1247 ); @@ -73,6 +73,10 @@ define ( 'TEMPLATE_BUILD_PATH', 'cache/smarty3' ); //define ( 'USE_BEARCAPS', true); + +// Many of these directory settings are no longer used, but may still be referenced in code. +// The only ones of consequence in 2021 are DIRECTORY_MODE_NORMAL and DIRECTORY_MODE_STANDALONE. + define ( 'DIRECTORY_MODE_NORMAL', 0x0000); // A directory client define ( 'DIRECTORY_MODE_PRIMARY', 0x0001); // There can only be *one* primary directory server in a directory_realm. define ( 'DIRECTORY_MODE_SECONDARY', 0x0002); // All other mirror directory servers diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index caf42154b..90d2f4ba4 100644 --- a/install/schema_mysql.sql +++ b/install/schema_mysql.sql @@ -1625,7 +1625,6 @@ CREATE TABLE if not exists oauth_access_tokens ( user_id int(10) unsigned NOT NULL DEFAULT 0, expires TIMESTAMP NOT NULL, scope VARCHAR(4000), - PRIMARY KEY (id), KEY `access_token` (`access_token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;