[Web] Change c_o to varchar 500

master
andryyy 2020-07-14 16:11:36 +02:00
parent 06c8f140b5
commit 11d003c985
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ function init_db_schema() {
try { try {
global $pdo; global $pdo;
$db_version = "08072020_1932"; $db_version = "14072020_1600";
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'"); $stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
@ -787,7 +787,7 @@ function init_db_schema() {
"c_screenname" => "VARCHAR(255)", "c_screenname" => "VARCHAR(255)",
"c_l" => "VARCHAR(255)", "c_l" => "VARCHAR(255)",
"c_mail" => "TEXT", "c_mail" => "TEXT",
"c_o" => "VARCHAR(255)", "c_o" => "VARCHAR(500)",
"c_ou" => "VARCHAR(255)", "c_ou" => "VARCHAR(255)",
"c_telephonenumber" => "VARCHAR(255)", "c_telephonenumber" => "VARCHAR(255)",
"c_categories" => "VARCHAR(255)", "c_categories" => "VARCHAR(255)",