Adding a primary key in domain_admins table

master
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
1 changed files with 2 additions and 2 deletions

View File

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