Merge pull request #703 from MAGICCC/master

Adding a primary key in domain_admins table
master
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
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'" "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"