]> git.mxchange.org Git - friendica.git/commitdiff
Increasing database version number
authorMichael <heluecht@pirati.ca>
Wed, 21 Aug 2019 21:11:37 +0000 (21:11 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 21 Aug 2019 21:11:37 +0000 (21:11 +0000)
database.sql
static/dbstructure.config.php

index c7d37a413440b90710f9a12c3cec2a5df4e7b753..d42f61f902ac7f5651d6cf8207a952c0f9384da4 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2019.09-rc (Dalmatian Bellflower)
--- DB_UPDATE_VERSION 1321
+-- DB_UPDATE_VERSION 1322
 -- ------------------------------------------
 
 
@@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS `2fa_app_specific_password` (
        `generated` datetime NOT NULL COMMENT 'Datetime the password was generated',
        `last_used` datetime COMMENT 'Datetime the password was last used',
         PRIMARY KEY(`id`),
-        INDEX `uid_description` (`uid`,`description`)
+        INDEX `uid_description` (`uid`,`description`(190))
 ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Two-factor app-specific _password';
 
 --
index 7a33a22b53685cde2980e69b11e74cf9c6c59322..2c8f4b34bee88b2332148860159932d1d4af6849 100755 (executable)
@@ -34,7 +34,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1321);
+       define('DB_UPDATE_VERSION', 1322);
 }
 
 return [