Browse Source

Increasing database version number

tags/2019.09
Michael 1 month ago
parent
commit
a483ea8acb
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      database.sql
  2. 1
    1
      static/dbstructure.config.php

+ 2
- 1
database.sql View File

@@ -1,6 +1,6 @@
1 1
 -- ------------------------------------------
2 2
 -- Friendica 2019.09-rc (Dalmatian Bellflower)
3
+-- DB_UPDATE_VERSION 1322
3 4
 -- ------------------------------------------
4 5
 
5 6
 
@@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS `2fa_app_specific_password` (
15 15
 	`generated` datetime NOT NULL COMMENT 'Datetime the password was generated',
16 16
 	`last_used` datetime COMMENT 'Datetime the password was last used',
17 17
 	 PRIMARY KEY(`id`),
18
-	 INDEX `uid_description` (`uid`,`description`)
18
+	 INDEX `uid_description` (`uid`,`description`(190))
19 19
 ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Two-factor app-specific _password';
20 20
 
21 21
 --

+ 1
- 1
static/dbstructure.config.php View File

@@ -34,7 +34,7 @@
34 34
 use Friendica\Database\DBA;
35 35
 
36 36
 if (!defined('DB_UPDATE_VERSION')) {
37
-	define('DB_UPDATE_VERSION', 1321);
37
+	define('DB_UPDATE_VERSION', 1322);
38 38
 }
39 39
 
40 40
 return [

Loading…
Cancel
Save