From c8be2240e41a867159e341a799a80eef0d30cb75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Tue, 31 Oct 2017 10:43:45 +0100 Subject: [PATCH] Revert "Adding a primary key in domain_admins table" --- data/web/inc/init_db.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"