Merge pull request #703 from MAGICCC/master

Adding a primary key in domain_admins table
This commit is contained in:
André Peters 2017-10-31 10:41:09 +01:00 committed by GitHub
commit 5f7fc38fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"