This commit is contained in:
Rich Lott / Artful Robot 2024-02-28 13:00:56 +00:00
parent 3b393be4f4
commit 0b96026602
17 changed files with 458 additions and 38 deletions

View file

@ -37,6 +37,7 @@ CREATE TABLE `civicrm_contact_category` (
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique ID, corresponds to contact id',
`category` int unsigned NOT NULL DEFAULT 0,
`next_category` int unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
CONSTRAINT FK_civicrm_contact_category_id FOREIGN KEY (`id`) REFERENCES `civicrm_contact`(`id`) ON DELETE CASCADE
)
ENGINE=InnoDB;