Add missing primary key to rainloop_system table

Signed-off-by: Igor Valente Blackman <igor.blackman@gmail.com>
This commit is contained in:
Igor Valente Blackman 2021-03-16 10:55:38 -03:00
parent c519184f3e
commit 76ac8567cf
No known key found for this signature in database
GPG key ID: 258BAF2BF6524AE2

View file

@ -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;
}
}
}