Adding a primary key in domain_admins table

This commit is contained in:
MAGIC 2017-10-30 23:21:29 +01:00
parent f7e3626e67
commit 07995c02c4
No known key found for this signature in database
GPG Key ID: A40EE5665510C9D5

View File

@ -248,8 +248,8 @@ function init_db_schema() {
"active" => "TINYINT(1) NOT NULL DEFAULT '1'" "active" => "TINYINT(1) NOT NULL DEFAULT '1'"
), ),
"keys" => array( "keys" => array(
"key" => array( "primary" => array(
"username" => array("username") "" => array("username", "domain")
) )
), ),
"attr" => "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC" "attr" => "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC"