diff --git a/data/web/inc/init_db.inc.php b/data/web/inc/init_db.inc.php index 01f05105..16f3fdf2 100644 --- a/data/web/inc/init_db.inc.php +++ b/data/web/inc/init_db.inc.php @@ -248,8 +248,8 @@ function init_db_schema() { "active" => "TINYINT(1) NOT NULL DEFAULT '1'" ), "keys" => array( - "primary" => array( - "" => array("username", "domain") + "key" => array( + "username" => array("username") ) ), "attr" => "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC"