Fixed comment for crm_contacts table in init sql files.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 17 Sep 2018 06:32:24 +0000 (08:32 +0200)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 17 Sep 2018 06:33:38 +0000 (08:33 +0200)
sql/en_US-demo.sql
sql/en_US-new.sql

index a062309c288e3e22004c997ea44ef6ead1e5c95d..ff2055f5419a8d5be60f10ac2924f477b8e86d52 100644 (file)
@@ -498,7 +498,7 @@ INSERT INTO `0_crm_categories` VALUES (12, 'supplier', 'invoice', 'Invoices', 'I
 DROP TABLE IF EXISTS `0_crm_contacts`;
 CREATE TABLE IF NOT EXISTS `0_crm_contacts` (
   `id` int(11) NOT NULL AUTO_INCREMENT,
 DROP TABLE IF EXISTS `0_crm_contacts`;
 CREATE TABLE IF NOT EXISTS `0_crm_contacts` (
   `id` int(11) NOT NULL AUTO_INCREMENT,
-  `person_id` int(11) NOT NULL DEFAULT '0' COMMENT 'foreign key to crm_contacts',
+  `person_id` int(11) NOT NULL DEFAULT '0' COMMENT 'foreign key to crm_persons',
   `type` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `action` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `entity_id` varchar(11) DEFAULT NULL COMMENT 'entity id in related class table',
   `type` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `action` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `entity_id` varchar(11) DEFAULT NULL COMMENT 'entity id in related class table',
index 1abe56cd9c97553e6b850f3848bb9e2befc63cfd..b025189a685689c9c5afea160d2aceb9f686c7fb 100644 (file)
@@ -447,7 +447,7 @@ INSERT INTO `0_crm_categories` VALUES (12, 'supplier', 'invoice', 'Invoices', 'I
 DROP TABLE IF EXISTS `0_crm_contacts`;
 CREATE TABLE IF NOT EXISTS `0_crm_contacts` (
   `id` int(11) NOT NULL auto_increment,
 DROP TABLE IF EXISTS `0_crm_contacts`;
 CREATE TABLE IF NOT EXISTS `0_crm_contacts` (
   `id` int(11) NOT NULL auto_increment,
-  `person_id` int(11) NOT NULL default '0' COMMENT 'foreign key to crm_contacts',
+  `person_id` int(11) NOT NULL default '0' COMMENT 'foreign key to crm_persons',
   `type` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `action` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `entity_id` varchar(11) default NULL COMMENT 'entity id in related class table',
   `type` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `action` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
   `entity_id` varchar(11) default NULL COMMENT 'entity id in related class table',