[Web] Change alias to TEXT field
parent
f81dad17bf
commit
6498fb0b39
|
@ -3,7 +3,7 @@ function init_db_schema() {
|
|||
try {
|
||||
global $pdo;
|
||||
|
||||
$db_version = "10082018_2019";
|
||||
$db_version = "16082018_2019";
|
||||
|
||||
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
|
||||
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
|
||||
|
@ -76,7 +76,7 @@ function init_db_schema() {
|
|||
"c_cn" => "VARCHAR(255)",
|
||||
"mail" => "VARCHAR(255) NOT NULL",
|
||||
// TODO -> use TEXT and check if SOGo login breaks on empty aliases
|
||||
"aliases" => "VARCHAR(6144) NOT NULL DEFAULT ''",
|
||||
"aliases" => "TEXT NOT NULL",
|
||||
"ad_aliases" => "VARCHAR(6144) NOT NULL DEFAULT ''",
|
||||
"home" => "VARCHAR(255)",
|
||||
"kind" => "VARCHAR(100) NOT NULL DEFAULT ''",
|
||||
|
|
Loading…
Reference in New Issue