1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-12 10:45:14 +02:00

[Web] Fix init db

This commit is contained in:
André 2017-11-14 12:36:24 +01:00
parent d0df8b57d1
commit 7bbeb17ea2

View File

@ -3,7 +3,7 @@ function init_db_schema() {
try {
global $pdo;
$db_version = "14112017_1149";
$db_version = "14112017_1049";
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
@ -285,7 +285,7 @@ function init_db_schema() {
"active" => "TINYINT(1) NOT NULL DEFAULT '1'"
),
"keys" => array(
"key" => array(
"unique" => array(
"username" => array("username")
)
),