mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 06:28:28 +03:00
Merge pull request #2075 from powerhome/fix/rainloop-system-missing-primary-key
Add missing primary key to rainloop_system table
This commit is contained in:
commit
ab36112eab
1 changed files with 3 additions and 1 deletions
|
|
@ -442,9 +442,11 @@ abstract class PdoAbstract
|
|||
{
|
||||
case 'mysql':
|
||||
$aQ[] = 'CREATE TABLE IF NOT EXISTS rainloop_system (
|
||||
id bigint UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
sys_name varchar(50) NOT NULL,
|
||||
value_int int UNSIGNED NOT NULL DEFAULT 0,
|
||||
value_str varchar(128) NOT NULL DEFAULT \'\',
|
||||
PRIMARY KEY(id),
|
||||
INDEX sys_name_rainloop_system_index (sys_name)
|
||||
) /*!40000 ENGINE=INNODB *//*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;';
|
||||
$aQ[] = 'CREATE TABLE IF NOT EXISTS rainloop_users (
|
||||
|
|
@ -600,4 +602,4 @@ rl_email text NOT NULL DEFAULT \'\'
|
|||
|
||||
return $bResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue