mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 10:18:05 +02:00
initial commit
This commit is contained in:
commit
3b393be4f4
16 changed files with 1594 additions and 0 deletions
42
sql/auto_install.sql
Normal file
42
sql/auto_install.sql
Normal file
|
@ -0,0 +1,42 @@
|
|||
-- +--------------------------------------------------------------------+
|
||||
-- | Copyright CiviCRM LLC. All rights reserved. |
|
||||
-- | |
|
||||
-- | This work is published under the GNU AGPLv3 license with some |
|
||||
-- | permitted exceptions and without any warranty. For full license |
|
||||
-- | and copyright information, see https://civicrm.org/licensing |
|
||||
-- +--------------------------------------------------------------------+
|
||||
--
|
||||
-- Generated from schema.tpl
|
||||
-- DO NOT EDIT. Generated by CRM_Core_CodeGen
|
||||
--
|
||||
-- /*******************************************************
|
||||
-- *
|
||||
-- * Clean up the existing tables - this section generated from drop.tpl
|
||||
-- *
|
||||
-- *******************************************************/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
DROP TABLE IF EXISTS `civicrm_contact_category`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
-- /*******************************************************
|
||||
-- *
|
||||
-- * Create new tables
|
||||
-- *
|
||||
-- *******************************************************/
|
||||
|
||||
-- /*******************************************************
|
||||
-- *
|
||||
-- * civicrm_contact_category
|
||||
-- *
|
||||
-- * Stores a category for each contact
|
||||
-- *
|
||||
-- *******************************************************/
|
||||
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`)
|
||||
)
|
||||
ENGINE=InnoDB;
|
22
sql/auto_uninstall.sql
Normal file
22
sql/auto_uninstall.sql
Normal file
|
@ -0,0 +1,22 @@
|
|||
-- +--------------------------------------------------------------------+
|
||||
-- | Copyright CiviCRM LLC. All rights reserved. |
|
||||
-- | |
|
||||
-- | This work is published under the GNU AGPLv3 license with some |
|
||||
-- | permitted exceptions and without any warranty. For full license |
|
||||
-- | and copyright information, see https://civicrm.org/licensing |
|
||||
-- +--------------------------------------------------------------------+
|
||||
--
|
||||
-- Generated from drop.tpl
|
||||
-- DO NOT EDIT. Generated by CRM_Core_CodeGen
|
||||
--
|
||||
-- /*******************************************************
|
||||
-- *
|
||||
-- * Clean up the existing tables
|
||||
-- *
|
||||
-- *******************************************************/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
DROP TABLE IF EXISTS `civicrm_contact_category`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
Loading…
Add table
Add a link
Reference in a new issue