Add new legacy password field
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 25 Nov 2017 23:05:32 +0000 (18:05 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 25 Nov 2017 23:05:32 +0000 (18:05 -0500)
boot.php
include/dbstructure.php
update.php

index 9cdaefb..5ee4d5f 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -45,7 +45,7 @@ define('FRIENDICA_PLATFORM',     'Friendica');
 define('FRIENDICA_CODENAME',     'Asparagus');
 define('FRIENDICA_VERSION',      '3.6-dev');
 define('DFRN_PROTOCOL_VERSION',  '2.23');
-define('DB_UPDATE_VERSION',      1235);
+define('DB_UPDATE_VERSION',      1236);
 
 /**
  * @brief Constant with a HTML line break.
index dde3dc6..65dda55 100644 (file)
@@ -1682,6 +1682,7 @@ function db_definition() {
                                        "guid" => array("type" => "varchar(64)", "not null" => "1", "default" => ""),
                                        "username" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
                                        "password" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
+                                       "legacy_password" => array("type" => "tinyint(1)", "not null" => "1", "default" => "1"),
                                        "nickname" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
                                        "email" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
                                        "openid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
index 5cf9bbc..7530d1a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define('UPDATE_VERSION' , 1235);
+define('UPDATE_VERSION' , 1236);
 
 use Friendica\Core\Config;
 use Friendica\Core\PConfig;