Fix missing auto_increment

This commit is contained in:
Jon Goldberg 2019-09-20 11:49:04 -04:00
parent ae5edc1f48
commit dbed69ca12
No known key found for this signature in database
GPG Key ID: C2D2247364F9DB13

View File

@ -5,7 +5,7 @@ class CRM_RelateEntities_Settings {
public static function install() { public static function install() {
CRM_Core_DAO::executeQuery(" CRM_Core_DAO::executeQuery("
CREATE TABLE IF NOT EXISTS `civicrm_relate_entities` ( CREATE TABLE IF NOT EXISTS `civicrm_relate_entities` (
`id` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`entity_table_a` varchar(255) NOT NULL, `entity_table_a` varchar(255) NOT NULL,
`entity_table_b` varchar(255) NOT NULL, `entity_table_b` varchar(255) NOT NULL,
`entity_id_a` int(10) UNSIGNED NOT NULL, `entity_id_a` int(10) UNSIGNED NOT NULL,