Add new legacy password field

This commit is contained in:
Hypolite Petovan 2017-11-25 18:05:32 -05:00
parent e74d9d1113
commit 2236f60cfa
3 changed files with 3 additions and 2 deletions

View file

@ -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.

View 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" => ""),

View file

@ -1,6 +1,6 @@
<?php
define('UPDATE_VERSION' , 1235);
define('UPDATE_VERSION' , 1236);
use Friendica\Core\Config;
use Friendica\Core\PConfig;