Physical Data Diagram

SupportSuite Database

Generated: 7/6/2005 11:10:33 PM

Table of Contents


1. Diagram information
1.1. Basic information
Project 
DiagramNoname2
Company 
Author 
Version 
Created7/6/2005 11:10:00 PM
Last modified7/6/2005 11:10:00 PM
1.2. Diagram Description
1.3. Diagram Annotation
1.4. ER Diagram
swift
2. Database
Database Description
 
Database Annotation
<%DBAnnotation%>
Database NameDatabase_1
Database Character Set 
Database Collate 
Comment 
Database Create SQL
CREATE DATABASE IF NOT EXISTS `Database_1`;

USE `Database_1`;
3 Domains
4. Tables
4.1 swadcampaigns
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
campaignid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
redirecturl varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcampaignid
Table Create SQL
CREATE TABLE `swadcampaigns` (
  `campaignid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `redirecturl` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`campaignid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.2 swadhitlogs
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
hitlogid int(10) YES YES YES UNSIGNED    
campaignid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
referrer varchar(255) NO YES NO      
browser varchar(255) NO YES NO      
platform varchar(255) NO YES NO      
ipaddress varchar(32) NO YES NO      
IndexNameColumns
PRIMARYhitlogid
FKIndex1campaignid
Table Create SQL
CREATE TABLE `swadhitlogs` (
  `hitlogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `campaignid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `referrer` varchar(255) NOT NULL,
  `browser` varchar(255) NOT NULL,
  `platform` varchar(255) NOT NULL,
  `ipaddress` varchar(32) NOT NULL,
  PRIMARY KEY(`hitlogid`),
  INDEX `FKIndex1`(`campaignid`),
  CONSTRAINT `Reference_01` FOREIGN KEY (`campaignid`)
    REFERENCES `swadcampaigns`(`campaignid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.3 swadsearchqueries
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
searchqueryid int(10) YES YES YES UNSIGNED    
campaignid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
enginename varchar(255) NO YES NO      
searchquery varchar(255) NO YES NO      
IndexNameColumns
PRIMARYsearchqueryid
FKIndex1campaignid
Table Create SQL
CREATE TABLE `swadsearchqueries` (
  `searchqueryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `campaignid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `enginename` varchar(255) NOT NULL,
  `searchquery` varchar(255) NOT NULL,
  PRIMARY KEY(`searchqueryid`),
  INDEX `FKIndex1`(`campaignid`),
  CONSTRAINT `Reference_02` FOREIGN KEY (`campaignid`)
    REFERENCES `swadcampaigns`(`campaignid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.4 swalertactions
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
alertactionid int(10) YES YES YES UNSIGNED    
alertruleid int(10) NO YES NO UNSIGNED 0  
actiontype smallint(3) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYalertactionid
alertactions1actiontype
FKIndex1alertruleid
Table Create SQL
CREATE TABLE `swalertactions` (
  `alertactionid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `alertruleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `actiontype` smallint(3) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`alertactionid`),
  INDEX `alertactions1`(`actiontype`),
  INDEX `FKIndex1`(`alertruleid`),
  CONSTRAINT `Reference_04` FOREIGN KEY (`alertruleid`)
    REFERENCES `swalertrules`(`alertruleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.5 swalertrules
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
alertruleid int(10) YES YES YES UNSIGNED    
alertscope smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
departmentid int(10) NO YES NO UNSIGNED 0  
priorityid int(10) NO YES NO UNSIGNED 0  
ticketstatusid int(10) NO YES NO UNSIGNED 0  
alerttype smallint(1) NO YES NO UNSIGNED 0  
execassign smallint(1) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
IndexNameColumns
PRIMARYalertruleid
alertrules1alertscope,staffid
FKIndex1departmentid
FKIndex2staffid
FKIndex3priorityid
FKIndex4ticketstatusid
Table Create SQL
CREATE TABLE `swalertrules` (
  `alertruleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `alertscope` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `priorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `alerttype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `execassign` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  PRIMARY KEY(`alertruleid`),
  INDEX `alertrules1`(`alertscope`, `staffid`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `FKIndex2`(`staffid`),
  INDEX `FKIndex3`(`priorityid`),
  INDEX `FKIndex4`(`ticketstatusid`),
  CONSTRAINT `Reference_27` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_73` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_122` FOREIGN KEY (`priorityid`)
    REFERENCES `swticketpriorities`(`priorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_136` FOREIGN KEY (`ticketstatusid`)
    REFERENCES `swticketstatus`(`ticketstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.6 swattachmentchunks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
chunkid int(10) YES YES YES UNSIGNED    
attachmentid int(10) NO YES NO UNSIGNED 0  
contents mediumblob NO YES NO      
IndexNameColumns
PRIMARYchunkid
FKIndex1attachmentid
Table Create SQL
CREATE TABLE `swattachmentchunks` (
  `chunkid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `attachmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumblob NOT NULL,
  PRIMARY KEY(`chunkid`),
  INDEX `FKIndex1`(`attachmentid`),
  CONSTRAINT `Reference_05` FOREIGN KEY (`attachmentid`)
    REFERENCES `swattachments`(`attachmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.7 swattachments
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
attachmentid int(10) YES YES YES UNSIGNED    
ticketid int(10) NO YES NO UNSIGNED 0  
ticketpostid int(10) NO YES NO UNSIGNED 0  
downloaditemid int(10) NO YES NO UNSIGNED 0  
filename varchar(255) NO YES NO      
filesize int(10) NO YES NO UNSIGNED 0  
filetype varchar(150) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
attachmenttype smallint(1) NO YES NO UNSIGNED 0  
storefilename varchar(255) NO YES NO      
IndexNameColumns
PRIMARYattachmentid
FKIndex1downloaditemid
attachments1ticketpostid
FKIndex3ticketid
Table Create SQL
CREATE TABLE `swattachments` (
  `attachmentid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketpostid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `downloaditemid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `filename` varchar(255) NOT NULL,
  `filesize` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `filetype` varchar(150) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `attachmenttype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `storefilename` varchar(255) NOT NULL,
  PRIMARY KEY(`attachmentid`),
  INDEX `FKIndex1`(`downloaditemid`),
  INDEX `attachments1`(`ticketpostid`),
  INDEX `FKIndex3`(`ticketid`),
  CONSTRAINT `Reference_40` FOREIGN KEY (`downloaditemid`)
    REFERENCES `swdownloaditems`(`downloaditemid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_119` FOREIGN KEY (`ticketpostid`)
    REFERENCES `swticketposts`(`ticketpostid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_128` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.8 swattachmenttypes
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
attachmenttypeid int(10) YES YES YES UNSIGNED    
extension varchar(10) NO YES NO      
maxsize int(10) NO YES NO UNSIGNED 0  
mimetype varchar(150) NO YES NO      
IndexNameColumns
PRIMARYattachmenttypeid
Table Create SQL
CREATE TABLE `swattachmenttypes` (
  `attachmenttypeid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `extension` varchar(10) NOT NULL,
  `maxsize` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `mimetype` varchar(150) NOT NULL,
  PRIMARY KEY(`attachmenttypeid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.9 swauditlogs
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
auditlogid int(10) YES YES YES UNSIGNED    
ticketid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
departmentid int(10) NO YES NO UNSIGNED 0  
userid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
logtype smallint(3) NO YES NO UNSIGNED 0  
actiontype smallint(3) NO YES NO UNSIGNED 0  
actionmsg varchar(255) NO YES NO      
IndexNameColumns
PRIMARYauditlogid
FKIndex1departmentid
FKIndex2staffid
auditlogs1ticketid
FKIndex4userid
Table Create SQL
CREATE TABLE `swauditlogs` (
  `auditlogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `logtype` smallint(3) UNSIGNED NOT NULL DEFAULT '0',
  `actiontype` smallint(3) UNSIGNED NOT NULL DEFAULT '0',
  `actionmsg` varchar(255) NOT NULL,
  PRIMARY KEY(`auditlogid`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `FKIndex2`(`staffid`),
  INDEX `auditlogs1`(`ticketid`),
  INDEX `FKIndex4`(`userid`),
  CONSTRAINT `Reference_28` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_74` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_129` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_149` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.10 swbreaklines
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
breaklineid int(10) YES YES YES UNSIGNED    
breakline varchar(255) NO YES NO      
IndexNameColumns
PRIMARYbreaklineid
Table Create SQL
CREATE TABLE `swbreaklines` (
  `breaklineid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `breakline` varchar(255) NOT NULL,
  PRIMARY KEY(`breaklineid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.11 swcalendarcategories
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendarcategoryid int(10) YES YES YES UNSIGNED    
categorytype smallint(1) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
displayorder int(10) NO YES NO UNSIGNED 0  
ismaster smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcalendarcategoryid
calendarcategories1categorytype
Table Create SQL
CREATE TABLE `swcalendarcategories` (
  `calendarcategoryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `categorytype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`calendarcategoryid`),
  INDEX `calendarcategories1`(`categorytype`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.12 swcalendardata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendardataid int(10) YES YES YES UNSIGNED    
datatype smallint(1) NO YES NO UNSIGNED 0  
typeid int(10) NO YES NO UNSIGNED 0  
contents text NO YES NO      
IndexNameColumns
PRIMARYcalendardataid
calendardata1datatype,typeid
Table Create SQL
CREATE TABLE `swcalendardata` (
  `calendardataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `datatype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` text NOT NULL,
  PRIMARY KEY(`calendardataid`),
  INDEX `calendardata1`(`datatype`, `typeid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.13 swcalendarevents
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendareventid int(10) YES YES YES UNSIGNED    
eventtype enum('public','private') NO YES NO   public  
ownerstaffid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
isalldayevent smallint(1) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
subject varchar(255) NO YES NO      
startdateline int(10) NO YES NO UNSIGNED 0  
duration int(10) NO YES NO UNSIGNED 0  
enddateline int(10) NO YES NO UNSIGNED 0  
activitytype smallint(1) NO YES NO UNSIGNED 0  
location varchar(255) NO YES NO      
calendarstatusid int(10) NO YES NO UNSIGNED 0  
calendarlabelid int(10) NO YES NO UNSIGNED 0  
calendarcategoryid int(10) NO YES NO UNSIGNED 0  
lastupdate int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcalendareventid
calendarevent1eventtype,staffid,startdateline
FKIndex1calendarcategoryid
FKIndex2calendarlabelid
FKIndex3calendarstatusid
FKIndex4staffid
Table Create SQL
CREATE TABLE `swcalendarevents` (
  `calendareventid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `eventtype` enum('public','private') NOT NULL DEFAULT 'public',
  `ownerstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `isalldayevent` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `subject` varchar(255) NOT NULL,
  `startdateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `duration` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `enddateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `activitytype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `location` varchar(255) NOT NULL,
  `calendarstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `calendarlabelid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `calendarcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastupdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`calendareventid`),
  INDEX `calendarevent1`(`eventtype`, `staffid`, `startdateline`),
  INDEX `FKIndex1`(`calendarcategoryid`),
  INDEX `FKIndex2`(`calendarlabelid`),
  INDEX `FKIndex3`(`calendarstatusid`),
  INDEX `FKIndex4`(`staffid`),
  CONSTRAINT `Reference_06` FOREIGN KEY (`calendarcategoryid`)
    REFERENCES `swcalendarcategories`(`calendarcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_08` FOREIGN KEY (`calendarlabelid`)
    REFERENCES `swcalendarlabels`(`calendarlabelid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_11` FOREIGN KEY (`calendarstatusid`)
    REFERENCES `swcalendarstatus`(`calendarstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_75` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.14 swcalendarlabels
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendarlabelid int(10) YES YES YES UNSIGNED    
labeltype smallint(1) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
labelcolorcode varchar(20) NO YES NO   #FFFFFF  
displayorder int(10) NO YES NO UNSIGNED 0  
ismaster smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcalendarlabelid
calendarlabels1labeltype
Table Create SQL
CREATE TABLE `swcalendarlabels` (
  `calendarlabelid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `labeltype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `labelcolorcode` varchar(20) NOT NULL DEFAULT '#FFFFFF',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`calendarlabelid`),
  INDEX `calendarlabels1`(`labeltype`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.15 swcalendarlinks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
linktype smallint(1) YES YES NO UNSIGNED 0  
entryid varchar(50) YES YES NO      
typeid int(10) YES YES NO UNSIGNED 0  
guidid int(10) YES YES NO UNSIGNED 0  
lastupdate int(10) NO YES NO UNSIGNED 0  
lastswiftupdate int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYlinktype,entryid,typeid,guidid
linktypelinktype,entryid,typeid,guidid
calendarlinks1entryid
calendarlinks2guidid
Table Create SQL
CREATE TABLE `swcalendarlinks` (
  `linktype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `entryid` varchar(50) NOT NULL,
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `guidid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastupdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastswiftupdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`linktype`, `entryid`, `typeid`, `guidid`),
  UNIQUE INDEX `linktype`(`linktype`, `entryid`, `typeid`, `guidid`),
  INDEX `calendarlinks1`(`entryid`),
  INDEX `calendarlinks2`(`guidid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.16 swcalendarpriorities
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendarpriorityid int(10) YES YES YES UNSIGNED    
prioritytype smallint(1) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
prioritycolorcode varchar(20) NO YES NO   #FFFFFF  
displayorder int(10) NO YES NO UNSIGNED 0  
ismaster smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcalendarpriorityid
calendarpriorities1prioritytype
Table Create SQL
CREATE TABLE `swcalendarpriorities` (
  `calendarpriorityid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `prioritytype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `prioritycolorcode` varchar(20) NOT NULL DEFAULT '#FFFFFF',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`calendarpriorityid`),
  INDEX `calendarpriorities1`(`prioritytype`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.17 swcalendarstatus
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendarstatusid int(10) YES YES YES UNSIGNED    
statustype smallint(1) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
statuscolorcode varchar(20) NO YES NO   #FFFFFF  
displayorder int(10) NO YES NO UNSIGNED 0  
ismaster smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcalendarstatusid
calendarstatus1statustype
Table Create SQL
CREATE TABLE `swcalendarstatus` (
  `calendarstatusid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `statustype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `statuscolorcode` varchar(20) NOT NULL DEFAULT '#FFFFFF',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`calendarstatusid`),
  INDEX `calendarstatus1`(`statustype`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.18 swcalendartasks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
calendartaskid int(10) YES YES YES UNSIGNED    
ownerstaffid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
duedate int(10) NO YES NO UNSIGNED 0  
startdate int(10) NO YES NO UNSIGNED 0  
contactid int(10) NO YES NO UNSIGNED 0  
completepercent int(3) NO YES NO UNSIGNED 0  
iscomplete smallint(1) NO YES NO UNSIGNED 0  
tasktype enum('public','private') NO YES NO   public  
subject varchar(255) NO YES NO      
calendarlabelid int(10) NO YES NO UNSIGNED 0  
calendarstatusid int(10) NO YES NO UNSIGNED 0  
calendarpriorityid int(10) NO YES NO UNSIGNED 0  
lastupdate int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcalendartaskid
calendartasks1ownerstaffid,duedate
calendartasks2tasktype,staffid
FKIndex1calendarlabelid
FKIndex2calendarpriorityid
FKIndex3calendarstatusid
FKIndex4contactid
FKIndex5staffid
Table Create SQL
CREATE TABLE `swcalendartasks` (
  `calendartaskid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ownerstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `duedate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `startdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contactid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completepercent` int(3) UNSIGNED NOT NULL DEFAULT '0',
  `iscomplete` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `tasktype` enum('public','private') NOT NULL DEFAULT 'public',
  `subject` varchar(255) NOT NULL,
  `calendarlabelid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `calendarstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `calendarpriorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastupdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`calendartaskid`),
  INDEX `calendartasks1`(`ownerstaffid`, `duedate`),
  INDEX `calendartasks2`(`tasktype`, `staffid`),
  INDEX `FKIndex1`(`calendarlabelid`),
  INDEX `FKIndex2`(`calendarpriorityid`),
  INDEX `FKIndex3`(`calendarstatusid`),
  INDEX `FKIndex4`(`contactid`),
  INDEX `FKIndex5`(`staffid`),
  CONSTRAINT `Reference_09` FOREIGN KEY (`calendarlabelid`)
    REFERENCES `swcalendarlabels`(`calendarlabelid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_10` FOREIGN KEY (`calendarpriorityid`)
    REFERENCES `swcalendarpriorities`(`calendarpriorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_12` FOREIGN KEY (`calendarstatusid`)
    REFERENCES `swcalendarstatus`(`calendarstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_20` FOREIGN KEY (`contactid`)
    REFERENCES `swcontacts`(`contactid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_76` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.19 swcannedcategories
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
cannedcategoryid int(10) YES YES YES UNSIGNED    
parentcategoryid int(10) NO YES NO UNSIGNED 0  
categorytype smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
IndexNameColumns
PRIMARYcannedcategoryid
cannedcategories1parentcategoryid
cannedcategories2categorytype,staffid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swcannedcategories` (
  `cannedcategoryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parentcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `categorytype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  PRIMARY KEY(`cannedcategoryid`),
  INDEX `cannedcategories1`(`parentcategoryid`),
  INDEX `cannedcategories2`(`categorytype`, `staffid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_77` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.20 swcannedresponsedata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
cannedresponsedataid int(10) YES YES YES UNSIGNED    
cannedresponseid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYcannedresponsedataid
cannedresponsesdata1cannedresponseid
Table Create SQL
CREATE TABLE `swcannedresponsedata` (
  `cannedresponsedataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `cannedresponseid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`cannedresponsedataid`),
  INDEX `cannedresponsesdata1`(`cannedresponseid`),
  CONSTRAINT `Reference_14` FOREIGN KEY (`cannedresponseid`)
    REFERENCES `swcannedresponses`(`cannedresponseid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.21 swcannedresponses
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
cannedresponseid int(10) YES YES YES UNSIGNED    
cannedcategoryid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
responsetype varchar(20) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcannedresponseid
cannedresponses1cannedcategoryid
cannedresponses2staffid
Table Create SQL
CREATE TABLE `swcannedresponses` (
  `cannedresponseid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `cannedcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `responsetype` varchar(20) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`cannedresponseid`),
  INDEX `cannedresponses1`(`cannedcategoryid`),
  INDEX `cannedresponses2`(`staffid`),
  CONSTRAINT `Reference_13` FOREIGN KEY (`cannedcategoryid`)
    REFERENCES `swcannedcategories`(`cannedcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_78` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.22 swcatchallrules
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
catchallruleid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
ruleexpr varchar(255) NO YES NO      
emailqueueid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
sortorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcatchallruleid
FKIndex1emailqueueid
Table Create SQL
CREATE TABLE `swcatchallrules` (
  `catchallruleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `ruleexpr` varchar(255) NOT NULL,
  `emailqueueid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `sortorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`catchallruleid`),
  INDEX `FKIndex1`(`emailqueueid`),
  CONSTRAINT `Reference_42` FOREIGN KEY (`emailqueueid`)
    REFERENCES `swemailqueues`(`emailqueueid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.23 swchatchilds
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeHEAP
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
chatchildid varchar(32) YES YES NO      
chatobjectid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYchatchildid
staffidchatobjectid,staffid
FKIndex1chatobjectid
FKIndex2staffid
Table Create SQL
CREATE TABLE `swchatchilds` (
  `chatchildid` varchar(32) NOT NULL,
  `chatobjectid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`chatchildid`),
  INDEX `staffid`(`chatobjectid`, `staffid`),
  INDEX `FKIndex1`(`chatobjectid`),
  INDEX `FKIndex2`(`staffid`),
  CONSTRAINT `Reference_16` FOREIGN KEY (`chatobjectid`)
    REFERENCES `swchatobjects`(`chatobjectid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_79` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=HEAP
ROW_FORMAT=dynamic;
4.24 swchatdata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
chatdataid int(10) YES YES YES UNSIGNED    
chatobjectid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYchatdataid
cobjidchatobjectid
Table Create SQL
CREATE TABLE `swchatdata` (
  `chatdataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `chatobjectid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`chatdataid`),
  INDEX `cobjid`(`chatobjectid`),
  CONSTRAINT `Reference_17` FOREIGN KEY (`chatobjectid`)
    REFERENCES `swchatobjects`(`chatobjectid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.25 swchatobjects
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
chatobjectid int(10) YES YES YES UNSIGNED    
visitorsessionid varchar(32) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
lastpostactivity int(10) NO YES NO UNSIGNED 0  
userpostactivity int(10) NO YES NO UNSIGNED 0  
staffpostactivity int(10) NO YES NO UNSIGNED 0  
userid int(10) NO YES NO UNSIGNED 0  
userfullname varchar(150) NO YES NO      
useremail varchar(255) NO YES NO      
staffid int(10) NO YES NO UNSIGNED 0  
staffname varchar(150) NO YES NO      
chatstatus smallint(5) NO YES NO UNSIGNED 0  
transferfromid int(10) NO YES NO UNSIGNED 0  
transfertoid int(10) NO YES NO UNSIGNED 0  
transferstatus smallint(1) NO YES NO UNSIGNED 0  
transfertimeline int(10) NO YES NO UNSIGNED 0  
roundrobintimeline int(10) NO YES NO UNSIGNED 0  
roundrobinhits int(10) NO YES NO UNSIGNED 0  
departmentid int(10) NO YES NO UNSIGNED 0  
departmenttitle varchar(100) NO YES NO      
chattype smallint(5) NO YES NO UNSIGNED 0  
ipaddress varchar(50) NO YES NO      
isproactive smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYchatobjectid
chatobjects1chatstatus,staffid
chatobjects2chatstatus,chattype
chatobjects6ipaddress
chatobjects7departmentid,dateline
chatobjects8useremail
FKIndex1departmentid
chatobjects4staffid
chatobjects5userid
chatobjects3visitorsessionid
Table Create SQL
CREATE TABLE `swchatobjects` (
  `chatobjectid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `visitorsessionid` varchar(32) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastpostactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userpostactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffpostactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userfullname` varchar(150) NOT NULL,
  `useremail` varchar(255) NOT NULL,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffname` varchar(150) NOT NULL,
  `chatstatus` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
  `transferfromid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `transfertoid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `transferstatus` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `transfertimeline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `roundrobintimeline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `roundrobinhits` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmenttitle` varchar(100) NOT NULL,
  `chattype` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
  `ipaddress` varchar(50) NOT NULL,
  `isproactive` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`chatobjectid`),
  INDEX `chatobjects1`(`chatstatus`, `staffid`),
  INDEX `chatobjects2`(`chatstatus`, `chattype`),
  INDEX `chatobjects6`(`ipaddress`),
  INDEX `chatobjects7`(`departmentid`, `dateline`),
  INDEX `chatobjects8`(`useremail`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `chatobjects4`(`staffid`),
  INDEX `chatobjects5`(`userid`),
  INDEX `chatobjects3`(`visitorsessionid`),
  CONSTRAINT `Reference_29` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_80` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_150` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_157` FOREIGN KEY (`visitorsessionid`)
    REFERENCES `swvisitorpulls`(`visitorsessionid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.26 swcommentdata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
commentdataid int(10) YES YES YES UNSIGNED    
commentid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYcommentdataid
commentdata1commentid
Table Create SQL
CREATE TABLE `swcommentdata` (
  `commentdataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `commentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`commentdataid`),
  INDEX `commentdata1`(`commentid`),
  CONSTRAINT `Reference_19` FOREIGN KEY (`commentid`)
    REFERENCES `swcomments`(`commentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.27 swcomments
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
commentid int(10) YES YES YES UNSIGNED    
typeid int(10) NO YES NO UNSIGNED 0  
commenttype smallint(2) NO YES NO UNSIGNED 0  
fullname varchar(255) NO YES NO      
email varchar(255) NO YES NO      
isapproved smallint(1) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcommentid
comments1commenttype,isapproved,typeid
Table Create SQL
CREATE TABLE `swcomments` (
  `commentid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `commenttype` smallint(2) UNSIGNED NOT NULL DEFAULT '0',
  `fullname` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `isapproved` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`commentid`),
  INDEX `comments1`(`commenttype`, `isapproved`, `typeid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.28 swcontacts
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
contactid int(10) YES YES YES UNSIGNED    
contacttype enum('public','private') NO YES NO   public  
staffid int(10) NO YES NO UNSIGNED 0  
fullname varchar(255) NO YES NO      
jobtitle varchar(255) NO YES NO      
initials varchar(5) NO YES NO      
calendarcategoryid int(10) NO YES NO UNSIGNED 0  
email1address varchar(255) NO YES NO      
email2address varchar(255) NO YES NO      
email3address varchar(255) NO YES NO      
customerid varchar(100) NO YES NO      
mobiletelephonenumber varchar(255) NO YES NO      
cartelephonenumber varchar(255) NO YES NO      
pagernumber varchar(255) NO YES NO      
othertelephonenumber varchar(255) NO YES NO      
imaddress varchar(100) NO YES NO      
companyname varchar(255) NO YES NO      
department varchar(255) NO YES NO      
officelocation varchar(255) NO YES NO      
businessaddress varchar(255) NO YES NO      
businesstelephonenumber varchar(255) NO YES NO      
business2telephonenumber varchar(255) NO YES NO      
businessfaxnumber varchar(255) NO YES NO      
businesshomepage varchar(255) NO YES NO      
homeaddress varchar(255) NO YES NO      
hometelephonenumber varchar(255) NO YES NO      
home2telephonenumber varchar(255) NO YES NO      
homefaxnumber varchar(255) NO YES NO      
birthdaydateline int(10) NO YES NO UNSIGNED 0  
anniversarydateline int(10) NO YES NO UNSIGNED 0  
mailingaddress varchar(255) NO YES NO      
otheraddress varchar(255) NO YES NO      
webpage varchar(255) NO YES NO      
assistantname varchar(255) NO YES NO      
assistanttelephonenumber varchar(255) NO YES NO      
lastupdate int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcontactid
contacts1contacttype,staffid
FKIndex1calendarcategoryid
FKIndex2staffid
Table Create SQL
CREATE TABLE `swcontacts` (
  `contactid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `contacttype` enum('public','private') NOT NULL DEFAULT 'public',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `fullname` varchar(255) NOT NULL,
  `jobtitle` varchar(255) NOT NULL,
  `initials` varchar(5) NOT NULL,
  `calendarcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `email1address` varchar(255) NOT NULL,
  `email2address` varchar(255) NOT NULL,
  `email3address` varchar(255) NOT NULL,
  `customerid` varchar(100) NOT NULL,
  `mobiletelephonenumber` varchar(255) NOT NULL,
  `cartelephonenumber` varchar(255) NOT NULL,
  `pagernumber` varchar(255) NOT NULL,
  `othertelephonenumber` varchar(255) NOT NULL,
  `imaddress` varchar(100) NOT NULL,
  `companyname` varchar(255) NOT NULL,
  `department` varchar(255) NOT NULL,
  `officelocation` varchar(255) NOT NULL,
  `businessaddress` varchar(255) NOT NULL,
  `businesstelephonenumber` varchar(255) NOT NULL,
  `business2telephonenumber` varchar(255) NOT NULL,
  `businessfaxnumber` varchar(255) NOT NULL,
  `businesshomepage` varchar(255) NOT NULL,
  `homeaddress` varchar(255) NOT NULL,
  `hometelephonenumber` varchar(255) NOT NULL,
  `home2telephonenumber` varchar(255) NOT NULL,
  `homefaxnumber` varchar(255) NOT NULL,
  `birthdaydateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `anniversarydateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `mailingaddress` varchar(255) NOT NULL,
  `otheraddress` varchar(255) NOT NULL,
  `webpage` varchar(255) NOT NULL,
  `assistantname` varchar(255) NOT NULL,
  `assistanttelephonenumber` varchar(255) NOT NULL,
  `lastupdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`contactid`),
  INDEX `contacts1`(`contacttype`, `staffid`),
  INDEX `FKIndex1`(`calendarcategoryid`),
  INDEX `FKIndex2`(`staffid`),
  CONSTRAINT `Reference_07` FOREIGN KEY (`calendarcategoryid`)
    REFERENCES `swcalendarcategories`(`calendarcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_81` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.29 swcountryinfo
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ip_from double(15,3) NO YES NO   0  
ip_to double(15,3) NO YES NO   0  
country_code2 char(2) NO YES NO      
country_code3 char(3) NO YES NO      
country_name varchar(50) NO YES NO      
IndexNameColumns
ipsip_from,ip_to
Table Create SQL
CREATE TABLE `swcountryinfo` (
  `ip_from` double(15,3) NOT NULL DEFAULT '0',
  `ip_to` double(15,3) NOT NULL DEFAULT '0',
  `country_code2` char(2) NOT NULL,
  `country_code3` char(3) NOT NULL,
  `country_name` varchar(50) NOT NULL,
  INDEX `ips`(`ip_from`, `ip_to`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.30 swcron
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
cronid int(10) YES YES YES UNSIGNED    
nextrun int(10) NO YES NO UNSIGNED 0  
lastrun int(10) NO YES NO UNSIGNED 0  
chour int(11) NO YES NO   0  
cminute int(11) NO YES NO   0  
cday int(11) NO YES NO   0  
module varchar(120) NO YES NO      
action varchar(120) NO YES NO      
autorun smallint(1) NO YES NO UNSIGNED 0  
name varchar(150) NO YES NO      
IndexNameColumns
PRIMARYcronid
Table Create SQL
CREATE TABLE `swcron` (
  `cronid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `nextrun` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastrun` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `chour` int(11) NOT NULL DEFAULT '0',
  `cminute` int(11) NOT NULL DEFAULT '0',
  `cday` int(11) NOT NULL DEFAULT '0',
  `module` varchar(120) NOT NULL,
  `action` varchar(120) NOT NULL,
  `autorun` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(150) NOT NULL,
  PRIMARY KEY(`cronid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.31 swcronlogs
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
cronlogid int(10) YES YES YES UNSIGNED    
cronid int(10) NO YES NO UNSIGNED 0  
crontitle varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
description varchar(255) NO YES NO      
IndexNameColumns
PRIMARYcronlogid
FKIndex1cronid
Table Create SQL
CREATE TABLE `swcronlogs` (
  `cronlogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `cronid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `crontitle` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `description` varchar(255) NOT NULL,
  PRIMARY KEY(`cronlogid`),
  INDEX `FKIndex1`(`cronid`),
  CONSTRAINT `Reference_21` FOREIGN KEY (`cronid`)
    REFERENCES `swcron`(`cronid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.32 swcustomfielddeplinks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
customfieldgroupid int(10) YES YES NO UNSIGNED 0  
departmentid int(10) YES YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcustomfieldgroupid,departmentid
customfieldgroupidcustomfieldgroupid,departmentid
Table Create SQL
CREATE TABLE `swcustomfielddeplinks` (
  `customfieldgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`customfieldgroupid`, `departmentid`),
  UNIQUE INDEX `customfieldgroupid`(`customfieldgroupid`, `departmentid`)
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.33 swcustomfieldgroups
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
customfieldgroupid int(10) YES YES YES UNSIGNED    
title varchar(200) NO YES NO      
grouptype smallint(2) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcustomfieldgroupid
customfieldgroups1grouptype
Table Create SQL
CREATE TABLE `swcustomfieldgroups` (
  `customfieldgroupid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(200) NOT NULL,
  `grouptype` smallint(2) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`customfieldgroupid`),
  INDEX `customfieldgroups1`(`grouptype`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.34 swcustomfieldlinks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
customfieldlinkid int(10) YES YES YES UNSIGNED    
linktype smallint(1) NO YES NO UNSIGNED 0  
typeid int(10) NO YES NO UNSIGNED 0  
customfieldgroupid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcustomfieldlinkid
linktypelinktype,typeid,customfieldgroupid
FKIndex1customfieldgroupid
Table Create SQL
CREATE TABLE `swcustomfieldlinks` (
  `customfieldlinkid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `linktype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `customfieldgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`customfieldlinkid`),
  UNIQUE INDEX `linktype`(`linktype`, `typeid`, `customfieldgroupid`),
  INDEX `FKIndex1`(`customfieldgroupid`),
  CONSTRAINT `Reference_22` FOREIGN KEY (`customfieldgroupid`)
    REFERENCES `swcustomfieldgroups`(`customfieldgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.35 swcustomfieldoptions
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
customfieldoptionid int(10) YES YES YES UNSIGNED    
customfieldid int(10) NO YES NO UNSIGNED 0  
optionvalue varchar(255) NO YES NO      
displayorder int(10) NO YES NO UNSIGNED 0  
isselected smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcustomfieldoptionid
customfieldoptions1customfieldid
Table Create SQL
CREATE TABLE `swcustomfieldoptions` (
  `customfieldoptionid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `customfieldid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `optionvalue` varchar(255) NOT NULL,
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `isselected` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`customfieldoptionid`),
  INDEX `customfieldoptions1`(`customfieldid`),
  CONSTRAINT `Reference_24` FOREIGN KEY (`customfieldid`)
    REFERENCES `swcustomfields`(`customfieldid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.36 swcustomfields
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
customfieldid int(10) YES YES YES UNSIGNED    
customfieldgroupid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
fieldtype smallint(2) NO YES NO UNSIGNED 0  
fieldname varchar(100) NO YES NO      
defaultvalue varchar(255) NO YES NO      
isrequired smallint(1) NO YES NO UNSIGNED 0  
usereditable smallint(1) NO YES NO UNSIGNED 0  
staffeditable smallint(1) NO YES NO UNSIGNED 0  
regexpvalidate varchar(255) NO YES NO      
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcustomfieldid
customfields1customfieldgroupid
Table Create SQL
CREATE TABLE `swcustomfields` (
  `customfieldid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `customfieldgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `fieldtype` smallint(2) UNSIGNED NOT NULL DEFAULT '0',
  `fieldname` varchar(100) NOT NULL,
  `defaultvalue` varchar(255) NOT NULL,
  `isrequired` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `usereditable` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffeditable` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `regexpvalidate` varchar(255) NOT NULL,
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`customfieldid`),
  INDEX `customfields1`(`customfieldgroupid`),
  CONSTRAINT `Reference_23` FOREIGN KEY (`customfieldgroupid`)
    REFERENCES `swcustomfieldgroups`(`customfieldgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.37 swcustomfieldvalues
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
customfieldvalueid int(10) YES YES YES UNSIGNED    
customfieldid int(10) NO YES NO UNSIGNED 0  
typeid int(10) NO YES NO UNSIGNED 0  
fieldvalue varchar(255) NO YES NO      
isserialized smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYcustomfieldvalueid
customfieldvalues1customfieldid,typeid
FKIndex1customfieldid
Table Create SQL
CREATE TABLE `swcustomfieldvalues` (
  `customfieldvalueid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `customfieldid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `fieldvalue` varchar(255) NOT NULL,
  `isserialized` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`customfieldvalueid`),
  INDEX `customfieldvalues1`(`customfieldid`, `typeid`),
  INDEX `FKIndex1`(`customfieldid`),
  CONSTRAINT `Reference_25` FOREIGN KEY (`customfieldid`)
    REFERENCES `swcustomfields`(`customfieldid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.38 swdepartments
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
departmentid int(10) YES YES YES UNSIGNED    
title varchar(100) NO YES NO      
departmenttype enum('public','private') NO YES NO   public  
departmentmodule enum('tickets','bugs','livesupport','knowledgebase') NO YES NO   tickets  
isdefault int(1) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYdepartmentid
departments1departmentmodule
Table Create SQL
CREATE TABLE `swdepartments` (
  `departmentid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(100) NOT NULL,
  `departmenttype` enum('public','private') NOT NULL DEFAULT 'public',
  `departmentmodule` enum('tickets','bugs','livesupport','knowledgebase') NOT NULL DEFAULT 'tickets',
  `isdefault` int(1) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`departmentid`),
  INDEX `departments1`(`departmentmodule`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.39 swdownloadcategories
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
downloadcategoryid int(10) YES YES YES UNSIGNED    
parentcategoryid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
totalitems int(10) NO YES NO UNSIGNED 0  
categorytype varchar(20) NO YES NO   public  
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYdownloadcategoryid
downloadcategories1parentcategoryid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swdownloadcategories` (
  `downloadcategoryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parentcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `totalitems` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `categorytype` varchar(20) NOT NULL DEFAULT 'public',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`downloadcategoryid`),
  INDEX `downloadcategories1`(`parentcategoryid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_82` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.40 swdownloaddesc
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
downloaddescid int(10) YES YES YES UNSIGNED    
downloaditemid int(10) NO YES NO UNSIGNED 0  
description mediumtext NO YES NO      
IndexNameColumns
PRIMARYdownloaddescid
downloaddesc1downloaditemid
Table Create SQL
CREATE TABLE `swdownloaddesc` (
  `downloaddescid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `downloaditemid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `description` mediumtext NOT NULL,
  PRIMARY KEY(`downloaddescid`),
  INDEX `downloaddesc1`(`downloaditemid`),
  CONSTRAINT `Reference_41` FOREIGN KEY (`downloaditemid`)
    REFERENCES `swdownloaditems`(`downloaditemid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.41 swdownloaditems
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
downloaditemid int(10) YES YES YES UNSIGNED    
downloadcategoryid int(10) NO YES NO UNSIGNED 0  
downloadmaskid varchar(100) NO YES NO      
title varchar(255) NO YES NO      
version varchar(50) NO YES NO      
filelink varchar(255) NO YES NO      
filename varchar(255) NO YES NO      
storedfilename varchar(255) NO YES NO      
filesize int(10) NO YES NO UNSIGNED 0  
filetype varchar(150) NO YES NO      
totaldownloads int(10) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
updatedateline int(10) NO YES NO UNSIGNED 0  
itempassword varchar(50) NO YES NO      
totalcomments int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYdownloaditemid
downloaditems2downloadmaskid
downloaditems1downloadcategoryid
Table Create SQL
CREATE TABLE `swdownloaditems` (
  `downloaditemid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `downloadcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `downloadmaskid` varchar(100) NOT NULL,
  `title` varchar(255) NOT NULL,
  `version` varchar(50) NOT NULL,
  `filelink` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `storedfilename` varchar(255) NOT NULL,
  `filesize` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `filetype` varchar(150) NOT NULL,
  `totaldownloads` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `updatedateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itempassword` varchar(50) NOT NULL,
  `totalcomments` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`downloaditemid`),
  INDEX `downloaditems2`(`downloadmaskid`),
  INDEX `downloaditems1`(`downloadcategoryid`),
  CONSTRAINT `Reference_39` FOREIGN KEY (`downloadcategoryid`)
    REFERENCES `swdownloadcategories`(`downloadcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.42 swemailqueues
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
emailqueueid int(10) YES YES YES UNSIGNED    
email varchar(255) NO YES NO      
type enum('tickets','bugs') NO YES NO   tickets  
fetchtype enum('pipe','pop3','pop3ssl','imap','imapssl') NO YES NO   pipe  
host varchar(255) NO YES NO      
port varchar(10) NO YES NO      
username varchar(255) NO YES NO      
userpassword varchar(255) NO YES NO      
customfromname varchar(200) NO YES NO      
customfromemail varchar(255) NO YES NO      
priorityid int(10) NO YES NO UNSIGNED 0  
ticketstatusid int(10) NO YES NO UNSIGNED 0  
departmentid int(10) NO YES NO UNSIGNED 0  
prefix varchar(30) NO YES NO      
ticketautoresponder smallint(1) NO YES NO UNSIGNED 0  
replyautoresponder smallint(1) NO YES NO UNSIGNED 0  
registrationrequired smallint(1) NO YES NO UNSIGNED 0  
tgroupid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYemailqueueid
FKIndex1departmentid
FKIndex2tgroupid
FKIndex3priorityid
FKIndex4ticketstatusid
Table Create SQL
CREATE TABLE `swemailqueues` (
  `emailqueueid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL,
  `type` enum('tickets','bugs') NOT NULL DEFAULT 'tickets',
  `fetchtype` enum('pipe','pop3','pop3ssl','imap','imapssl') NOT NULL DEFAULT 'pipe',
  `host` varchar(255) NOT NULL,
  `port` varchar(10) NOT NULL,
  `username` varchar(255) NOT NULL,
  `userpassword` varchar(255) NOT NULL,
  `customfromname` varchar(200) NOT NULL,
  `customfromemail` varchar(255) NOT NULL,
  `priorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `prefix` varchar(30) NOT NULL,
  `ticketautoresponder` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `replyautoresponder` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `registrationrequired` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`emailqueueid`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `FKIndex2`(`tgroupid`),
  INDEX `FKIndex3`(`priorityid`),
  INDEX `FKIndex4`(`ticketstatusid`),
  CONSTRAINT `Reference_30` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_110` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_123` FOREIGN KEY (`priorityid`)
    REFERENCES `swticketpriorities`(`priorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_137` FOREIGN KEY (`ticketstatusid`)
    REFERENCES `swticketstatus`(`ticketstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.43 swescalationrules
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
escalationruleid int(10) YES YES YES UNSIGNED    
slaplanid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
priorityid int(10) NO YES NO UNSIGNED 0  
ticketstatusid int(10) NO YES NO UNSIGNED 0  
departmentid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYescalationruleid
FKIndex1departmentid
escalationrules1slaplanid
FKIndex3staffid
FKIndex4priorityid
FKIndex5ticketstatusid
Table Create SQL
CREATE TABLE `swescalationrules` (
  `escalationruleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `slaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `priorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`escalationruleid`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `escalationrules1`(`slaplanid`),
  INDEX `FKIndex3`(`staffid`),
  INDEX `FKIndex4`(`priorityid`),
  INDEX `FKIndex5`(`ticketstatusid`),
  CONSTRAINT `Reference_31` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_66` FOREIGN KEY (`slaplanid`)
    REFERENCES `swslaplans`(`slaplanid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_83` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_124` FOREIGN KEY (`priorityid`)
    REFERENCES `swticketpriorities`(`priorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_138` FOREIGN KEY (`ticketstatusid`)
    REFERENCES `swticketstatus`(`ticketstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.44 swgroupassigns
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
groupassignid int(10) YES YES YES UNSIGNED    
departmentid int(10) NO YES NO UNSIGNED 0  
staffgroupid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYgroupassignid
departmentiddepartmentid,staffgroupid
groupassigns2departmentid
groupassigns1staffgroupid
Table Create SQL
CREATE TABLE `swgroupassigns` (
  `groupassignid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`groupassignid`),
  UNIQUE INDEX `departmentid`(`departmentid`, `staffgroupid`),
  INDEX `groupassigns2`(`departmentid`),
  INDEX `groupassigns1`(`staffgroupid`),
  CONSTRAINT `Reference_32` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_106` FOREIGN KEY (`staffgroupid`)
    REFERENCES `swstaffgroup`(`staffgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.45 swkbarticledata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
kbarticledataid int(10) YES YES YES UNSIGNED    
kbarticleid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYkbarticledataid
kbarticledata1kbarticleid
Table Create SQL
CREATE TABLE `swkbarticledata` (
  `kbarticledataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `kbarticleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`kbarticledataid`),
  INDEX `kbarticledata1`(`kbarticleid`),
  CONSTRAINT `Reference_47` FOREIGN KEY (`kbarticleid`)
    REFERENCES `swkbarticles`(`kbarticleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.46 swkbarticlefiles
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
kbarticlefileid int(10) YES YES YES UNSIGNED    
kbarticleid int(10) NO YES NO UNSIGNED 0  
filename varchar(255) NO YES NO      
storedfilename varchar(255) NO YES NO      
filesize int(10) NO YES NO UNSIGNED 0  
filetype varchar(150) NO YES NO      
totaldownloads int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYkbarticlefileid
kbarticlefiles1kbarticleid
Table Create SQL
CREATE TABLE `swkbarticlefiles` (
  `kbarticlefileid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `kbarticleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `filename` varchar(255) NOT NULL,
  `storedfilename` varchar(255) NOT NULL,
  `filesize` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `filetype` varchar(150) NOT NULL,
  `totaldownloads` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`kbarticlefileid`),
  INDEX `kbarticlefiles1`(`kbarticleid`),
  CONSTRAINT `Reference_48` FOREIGN KEY (`kbarticleid`)
    REFERENCES `swkbarticles`(`kbarticleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.47 swkbarticlelinks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
kbarticlelinkid int(10) YES YES YES UNSIGNED    
kbcategoryid int(10) NO YES NO UNSIGNED 0  
kbarticleid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYkbarticlelinkid
kbcategoryidkbcategoryid,kbarticleid
kbarticlelinks1kbarticleid
FKIndex2kbcategoryid
Table Create SQL
CREATE TABLE `swkbarticlelinks` (
  `kbarticlelinkid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `kbcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `kbarticleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`kbarticlelinkid`),
  UNIQUE INDEX `kbcategoryid`(`kbcategoryid`, `kbarticleid`),
  INDEX `kbarticlelinks1`(`kbarticleid`),
  INDEX `FKIndex2`(`kbcategoryid`),
  CONSTRAINT `Reference_49` FOREIGN KEY (`kbarticleid`)
    REFERENCES `swkbarticles`(`kbarticleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_50` FOREIGN KEY (`kbcategoryid`)
    REFERENCES `swkbcategories`(`kbcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.48 swkbarticles
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
kbarticleid int(10) YES YES YES UNSIGNED    
staffid int(10) NO YES NO UNSIGNED 0  
subject varchar(255) NO YES NO      
isedited smallint(1) NO YES NO UNSIGNED 0  
editeddateline int(10) NO YES NO UNSIGNED 0  
editedstaffid int(10) NO YES NO UNSIGNED 0  
views int(10) NO YES NO UNSIGNED 0  
totalcomments int(10) NO YES NO UNSIGNED 0  
hasattachments smallint(1) NO YES NO UNSIGNED 1  
dateline int(10) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
articlestatus enum('published','draft','private') NO YES NO   published  
articlerating float(9,3) NO YES NO UNSIGNED 0  
ratinghits int(10) NO YES NO UNSIGNED 0  
ratingcount int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYkbarticleid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swkbarticles` (
  `kbarticleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `subject` varchar(255) NOT NULL,
  `isedited` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `editeddateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `editedstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `views` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `totalcomments` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `hasattachments` smallint(1) UNSIGNED NOT NULL DEFAULT '1',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `articlestatus` enum('published','draft','private') NOT NULL DEFAULT 'published',
  `articlerating` float(9,3) UNSIGNED NOT NULL DEFAULT '0',
  `ratinghits` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ratingcount` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`kbarticleid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_84` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.49 swkbcategories
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
kbcategoryid int(10) YES YES YES UNSIGNED    
parentcategoryid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
totalarticles int(10) NO YES NO UNSIGNED 0  
categorytype enum('public','private') NO YES NO   public  
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYkbcategoryid
kbcategories1parentcategoryid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swkbcategories` (
  `kbcategoryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parentcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `totalarticles` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `categorytype` enum('public','private') NOT NULL DEFAULT 'public',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`kbcategoryid`),
  INDEX `kbcategories1`(`parentcategoryid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_85` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.50 swlanguagephrases
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
phraseid int(10) YES YES YES UNSIGNED    
languageid int(10) NO YES NO UNSIGNED 0  
section varchar(100) NO YES NO      
code varchar(100) NO YES NO      
sectioncode varchar(255) NO YES NO      
contents text NO YES NO      
IndexNameColumns
PRIMARYphraseid
languageidlanguageid,code
FKIndex1languageid
Table Create SQL
CREATE TABLE `swlanguagephrases` (
  `phraseid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `languageid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `section` varchar(100) NOT NULL,
  `code` varchar(100) NOT NULL,
  `sectioncode` varchar(255) NOT NULL,
  `contents` text NOT NULL,
  PRIMARY KEY(`phraseid`),
  UNIQUE INDEX `languageid`(`languageid`, `code`),
  INDEX `FKIndex1`(`languageid`),
  CONSTRAINT `Reference_51` FOREIGN KEY (`languageid`)
    REFERENCES `swlanguages`(`languageid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.51 swlanguages
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
languageid int(10) YES YES YES UNSIGNED    
title varchar(100) NO YES NO      
languagecode varchar(20) NO YES NO      
charset varchar(200) NO YES NO      
author varchar(120) NO YES NO      
textdirection enum('ltr','rtl') NO YES NO   ltr  
ismaster smallint(1) NO YES NO UNSIGNED 0  
isdefault smallint(1) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYlanguageid
languages1languagecode
Table Create SQL
CREATE TABLE `swlanguages` (
  `languageid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(100) NOT NULL,
  `languagecode` varchar(20) NOT NULL,
  `charset` varchar(200) NOT NULL,
  `author` varchar(120) NOT NULL,
  `textdirection` enum('ltr','rtl') NOT NULL DEFAULT 'ltr',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `isdefault` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`languageid`),
  INDEX `languages1`(`languagecode`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.52 swmailqueuedata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
mailqueuedataid int(10) YES YES YES UNSIGNED    
toemail varchar(255) NO YES NO      
fromemail varchar(255) NO YES NO      
fromname varchar(255) NO YES NO      
subject varchar(255) NO YES NO      
datatext mediumtext NO YES NO      
datahtml mediumtext NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
ishtml smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYmailqueuedataid
Table Create SQL
CREATE TABLE `swmailqueuedata` (
  `mailqueuedataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `toemail` varchar(255) NOT NULL,
  `fromemail` varchar(255) NOT NULL,
  `fromname` varchar(255) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `datatext` mediumtext NOT NULL,
  `datahtml` mediumtext NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ishtml` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`mailqueuedataid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.53 swmessagedata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
messagedataid int(10) YES YES YES UNSIGNED    
messageid int(10) NO YES NO UNSIGNED 0  
contenttype smallint(1) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYmessagedataid
messagedata1messageid
Table Create SQL
CREATE TABLE `swmessagedata` (
  `messagedataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `messageid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contenttype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`messagedataid`),
  INDEX `messagedata1`(`messageid`),
  CONSTRAINT `Reference_54` FOREIGN KEY (`messageid`)
    REFERENCES `swmessages`(`messageid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.54 swmessagequeue
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
messagequeueid int(10) YES YES YES UNSIGNED    
chatobjectid int(10) NO YES NO UNSIGNED 0  
chatchildid varchar(32) NO YES NO      
staffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
name varchar(150) NO YES NO      
contents mediumtext NO YES NO      
msgtype varchar(10) NO YES NO      
IndexNameColumns
PRIMARYmessagequeueid
messagequeue1chatobjectid,chatchildid
messagequeue2dateline
FKIndex1chatchildid
FKIndex2chatobjectid
FKIndex3staffid
Table Create SQL
CREATE TABLE `swmessagequeue` (
  `messagequeueid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `chatobjectid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `chatchildid` varchar(32) NOT NULL,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(150) NOT NULL,
  `contents` mediumtext NOT NULL,
  `msgtype` varchar(10) NOT NULL,
  PRIMARY KEY(`messagequeueid`),
  INDEX `messagequeue1`(`chatobjectid`, `chatchildid`),
  INDEX `messagequeue2`(`dateline`),
  INDEX `FKIndex1`(`chatchildid`),
  INDEX `FKIndex2`(`chatobjectid`),
  INDEX `FKIndex3`(`staffid`),
  CONSTRAINT `Reference_15` FOREIGN KEY (`chatchildid`)
    REFERENCES `swchatchilds`(`chatchildid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_18` FOREIGN KEY (`chatobjectid`)
    REFERENCES `swchatobjects`(`chatobjectid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_86` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.55 swmessages
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
messageid int(10) YES YES YES UNSIGNED    
dateline int(10) NO YES NO UNSIGNED 0  
replydateline int(10) NO YES NO UNSIGNED 0  
fullname varchar(150) NO YES NO      
email varchar(150) NO YES NO      
subject varchar(255) NO YES NO      
departmentid int(10) NO YES NO UNSIGNED 0  
messagestatus smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYmessageid
messages1departmentid,messagestatus
FKIndex1departmentid
messages2staffid
Table Create SQL
CREATE TABLE `swmessages` (
  `messageid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `replydateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `fullname` varchar(150) NOT NULL,
  `email` varchar(150) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `messagestatus` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`messageid`),
  INDEX `messages1`(`departmentid`, `messagestatus`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `messages2`(`staffid`),
  CONSTRAINT `Reference_33` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_87` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.56 swnews
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
newsid int(10) YES YES YES UNSIGNED    
tgroupid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
newstype enum('public','private') NO YES NO   public  
subject varchar(255) NO YES NO      
emailsubject varchar(255) NO YES NO      
description text NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
expiry int(10) NO YES NO UNSIGNED 0  
edited smallint(1) NO YES NO UNSIGNED 0  
editedstaffid int(10) NO YES NO UNSIGNED 0  
editeddateline int(10) NO YES NO UNSIGNED 0  
totalcomments int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYnewsid
news1tgroupid,newstype,expiry,dateline
FKIndex1staffid
FKIndex2tgroupid
Table Create SQL
CREATE TABLE `swnews` (
  `newsid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `newstype` enum('public','private') NOT NULL DEFAULT 'public',
  `subject` varchar(255) NOT NULL,
  `emailsubject` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `expiry` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `edited` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `editedstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `editeddateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `totalcomments` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`newsid`),
  INDEX `news1`(`tgroupid`, `newstype`, `expiry`, `dateline`),
  INDEX `FKIndex1`(`staffid`),
  INDEX `FKIndex2`(`tgroupid`),
  CONSTRAINT `Reference_88` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_111` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.57 swnewsdata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
newsdataid int(10) YES YES YES UNSIGNED    
newsid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYnewsdataid
newsdata1newsid
Table Create SQL
CREATE TABLE `swnewsdata` (
  `newsdataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `newsid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`newsdataid`),
  INDEX `newsdata1`(`newsid`),
  CONSTRAINT `Reference_55` FOREIGN KEY (`newsid`)
    REFERENCES `swnews`(`newsid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.58 swnewssubscribers
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
newssubscriberid int(10) YES YES YES UNSIGNED    
tgroupid int(10) NO YES NO UNSIGNED 0  
userid int(10) NO YES NO UNSIGNED 0  
email varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
validated smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYnewssubscriberid
emailemail
newssubscribers1tgroupid,validated
FKIndex1tgroupid
FKIndex2userid
Table Create SQL
CREATE TABLE `swnewssubscribers` (
  `newssubscriberid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `email` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `validated` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`newssubscriberid`),
  UNIQUE INDEX `email`(`email`),
  INDEX `newssubscribers1`(`tgroupid`, `validated`),
  INDEX `FKIndex1`(`tgroupid`),
  INDEX `FKIndex2`(`userid`),
  CONSTRAINT `Reference_112` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_151` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.59 swnewsverihash
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
newsverihashid varchar(32) YES YES NO      
newssubscriberid int(10) NO YES NO UNSIGNED 0  
hash varchar(50) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYnewsverihashid
newsverihash2hash
newsverihash1newssubscriberid
Table Create SQL
CREATE TABLE `swnewsverihash` (
  `newsverihashid` varchar(32) NOT NULL,
  `newssubscriberid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `hash` varchar(50) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`newsverihashid`),
  INDEX `newsverihash2`(`hash`),
  INDEX `newsverihash1`(`newssubscriberid`),
  CONSTRAINT `Reference_56` FOREIGN KEY (`newssubscriberid`)
    REFERENCES `swnewssubscribers`(`newssubscriberid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.60 swparserbans
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
parserbanid int(10) YES YES YES UNSIGNED    
email varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYparserbanid
emailemail
FKIndex1staffid
Table Create SQL
CREATE TABLE `swparserbans` (
  `parserbanid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`parserbanid`),
  UNIQUE INDEX `email`(`email`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_89` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.61 swparserlogdata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
parserlogdataid int(10) YES YES YES UNSIGNED    
parserlogid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYparserlogdataid
FKIndex1parserlogid
Table Create SQL
CREATE TABLE `swparserlogdata` (
  `parserlogdataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parserlogid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`parserlogdataid`),
  INDEX `FKIndex1`(`parserlogid`),
  CONSTRAINT `Reference_57` FOREIGN KEY (`parserlogid`)
    REFERENCES `swparserlogs`(`parserlogid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.62 swparserlogs
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
parserlogid int(10) YES YES YES UNSIGNED    
typeid int(10) NO YES NO UNSIGNED 0  
ticketmaskid varchar(20) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
emailqueueid int(10) NO YES NO UNSIGNED 0  
logtype enum('failure','success') NO YES NO   failure  
subject varchar(255) NO YES NO      
fromemail varchar(255) NO YES NO      
toemail varchar(255) NO YES NO      
size int(10) NO YES NO UNSIGNED 0  
description varchar(255) NO YES NO      
parsetimetaken float(9,3) NO YES NO UNSIGNED 0  
responsetype enum('ticket','reply','bug') NO YES NO   ticket  
ticketpostid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYparserlogid
FKIndex1emailqueueid
parserlogs2ticketpostid
Table Create SQL
CREATE TABLE `swparserlogs` (
  `parserlogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketmaskid` varchar(20) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `emailqueueid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `logtype` enum('failure','success') NOT NULL DEFAULT 'failure',
  `subject` varchar(255) NOT NULL,
  `fromemail` varchar(255) NOT NULL,
  `toemail` varchar(255) NOT NULL,
  `size` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `description` varchar(255) NOT NULL,
  `parsetimetaken` float(9,3) UNSIGNED NOT NULL DEFAULT '0',
  `responsetype` enum('ticket','reply','bug') NOT NULL DEFAULT 'ticket',
  `ticketpostid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`parserlogid`),
  INDEX `FKIndex1`(`emailqueueid`),
  INDEX `parserlogs2`(`ticketpostid`),
  CONSTRAINT `Reference_43` FOREIGN KEY (`emailqueueid`)
    REFERENCES `swemailqueues`(`emailqueueid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_120` FOREIGN KEY (`ticketpostid`)
    REFERENCES `swticketposts`(`ticketpostid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.63 swparserrules
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
parserruleid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
sortorder int(10) NO YES NO UNSIGNED 0  
ruletype smallint(1) NO YES NO UNSIGNED 0  
matchtype smallint(1) NO YES NO UNSIGNED 0  
stopprocessing smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYparserruleid
Table Create SQL
CREATE TABLE `swparserrules` (
  `parserruleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `sortorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ruletype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `matchtype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `stopprocessing` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`parserruleid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.64 swpredefinedcategories
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
predefinedcategoryid int(10) YES YES YES UNSIGNED    
parentcategoryid int(10) NO YES NO UNSIGNED 0  
categorytype smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
IndexNameColumns
PRIMARYpredefinedcategoryid
predefinedcategory1parentcategoryid
predefinedcategory2categorytype,staffid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swpredefinedcategories` (
  `predefinedcategoryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parentcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `categorytype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  PRIMARY KEY(`predefinedcategoryid`),
  INDEX `predefinedcategory1`(`parentcategoryid`),
  INDEX `predefinedcategory2`(`categorytype`, `staffid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_90` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.65 swpredefinedreplies
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
predefinedreplyid int(10) YES YES YES UNSIGNED    
predefinedcategoryid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
subject varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYpredefinedreplyid
predefinedreply1predefinedcategoryid
predefinedreply2staffid
Table Create SQL
CREATE TABLE `swpredefinedreplies` (
  `predefinedreplyid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `predefinedcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `subject` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`predefinedreplyid`),
  INDEX `predefinedreply1`(`predefinedcategoryid`),
  INDEX `predefinedreply2`(`staffid`),
  CONSTRAINT `Reference_60` FOREIGN KEY (`predefinedcategoryid`)
    REFERENCES `swpredefinedcategories`(`predefinedcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_91` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.66 swpredefinedreplydata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
predefinedreplydataid int(10) YES YES YES UNSIGNED    
predefinedreplyid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYpredefinedreplydataid
predefinedreplydata1predefinedreplyid
Table Create SQL
CREATE TABLE `swpredefinedreplydata` (
  `predefinedreplydataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `predefinedreplyid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`predefinedreplydataid`),
  INDEX `predefinedreplydata1`(`predefinedreplyid`),
  CONSTRAINT `Reference_61` FOREIGN KEY (`predefinedreplyid`)
    REFERENCES `swpredefinedreplies`(`predefinedreplyid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.67 swprivatemessagedata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
privatemessagedataid int(10) YES YES YES UNSIGNED    
privatemessageid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYprivatemessagedataid
privatemessagedata1privatemessageid
Table Create SQL
CREATE TABLE `swprivatemessagedata` (
  `privatemessagedataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `privatemessageid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`privatemessagedataid`),
  INDEX `privatemessagedata1`(`privatemessageid`),
  CONSTRAINT `Reference_62` FOREIGN KEY (`privatemessageid`)
    REFERENCES `swprivatemessages`(`privatemessageid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.68 swprivatemessages
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
privatemessageid int(10) YES YES YES UNSIGNED    
fromstaffid int(10) NO YES NO UNSIGNED 0  
tostaffid int(10) NO YES NO UNSIGNED 0  
subject varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
msgtype smallint(1) NO YES NO UNSIGNED 0  
msgstatus smallint(1) NO YES NO UNSIGNED 0  
readdate int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYprivatemessageid
privatemessages1tostaffid,msgtype,msgstatus
privatemessages2fromstaffid,msgtype,msgstatus
Table Create SQL
CREATE TABLE `swprivatemessages` (
  `privatemessageid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `fromstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tostaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `subject` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `msgtype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `msgstatus` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `readdate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`privatemessageid`),
  INDEX `privatemessages1`(`tostaffid`, `msgtype`, `msgstatus`),
  INDEX `privatemessages2`(`fromstaffid`, `msgtype`, `msgstatus`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.69 swqueuesignatures
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
queuesignatureid int(10) YES YES YES UNSIGNED    
dateline int(10) NO YES NO UNSIGNED 0  
emailqueueid int(10) NO YES NO UNSIGNED 0  
contents text NO YES NO      
IndexNameColumns
PRIMARYqueuesignatureid
FKIndex1emailqueueid
Table Create SQL
CREATE TABLE `swqueuesignatures` (
  `queuesignatureid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `emailqueueid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` text NOT NULL,
  PRIMARY KEY(`queuesignatureid`),
  INDEX `FKIndex1`(`emailqueueid`),
  CONSTRAINT `Reference_44` FOREIGN KEY (`emailqueueid`)
    REFERENCES `swemailqueues`(`emailqueueid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.70 swregistry
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
vkey varchar(50) YES YES NO      
data mediumtext NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
isvolatile smallint(5) NO YES NO UNSIGNED 0  
datasize int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYvkey
Table Create SQL
CREATE TABLE `swregistry` (
  `vkey` varchar(50) NOT NULL,
  `data` mediumtext NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `isvolatile` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
  `datasize` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`vkey`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.71 swruleactions
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ruleactionid int(10) YES YES YES UNSIGNED    
parserruleid int(10) NO YES NO UNSIGNED 0  
name varchar(100) NO YES NO      
typeid int(10) NO YES NO UNSIGNED 0  
typedata mediumtext NO YES NO      
typechar varchar(255) NO YES NO      
IndexNameColumns
PRIMARYruleactionid
ruleactions1parserruleid
Table Create SQL
CREATE TABLE `swruleactions` (
  `ruleactionid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parserruleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(100) NOT NULL,
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `typedata` mediumtext NOT NULL,
  `typechar` varchar(255) NOT NULL,
  PRIMARY KEY(`ruleactionid`),
  INDEX `ruleactions1`(`parserruleid`),
  CONSTRAINT `Reference_58` FOREIGN KEY (`parserruleid`)
    REFERENCES `swparserrules`(`parserruleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.72 swrulecriteria
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
rulecriteriaid int(10) YES YES YES UNSIGNED    
parserruleid int(10) NO YES NO UNSIGNED 0  
name varchar(100) NO YES NO      
ruleop smallint(2) NO YES NO UNSIGNED 0  
rulematch varchar(255) NO YES NO      
IndexNameColumns
PRIMARYrulecriteriaid
rulecriteria1parserruleid
Table Create SQL
CREATE TABLE `swrulecriteria` (
  `rulecriteriaid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `parserruleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(100) NOT NULL,
  `ruleop` smallint(2) UNSIGNED NOT NULL DEFAULT '0',
  `rulematch` varchar(255) NOT NULL,
  PRIMARY KEY(`rulecriteriaid`),
  INDEX `rulecriteria1`(`parserruleid`),
  CONSTRAINT `Reference_59` FOREIGN KEY (`parserruleid`)
    REFERENCES `swparserrules`(`parserruleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.73 swsessions
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeHEAP
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
sessionid varchar(32) YES YES NO      
ipaddress varchar(30) NO YES NO      
lastactivity int(10) NO YES NO UNSIGNED 0  
useragent varchar(60) NO YES NO   0  
isloggedin smallint(1) NO YES NO UNSIGNED 0  
sessiontype int(10) NO YES NO UNSIGNED 0  
typeid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
status smallint(6) NO YES NO   0  
captcha varchar(10) NO YES NO      
iswinapp smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYsessionid
sessions1sessiontype,lastactivity,status
typeidtypeid
Table Create SQL
CREATE TABLE `swsessions` (
  `sessionid` varchar(32) NOT NULL,
  `ipaddress` varchar(30) NOT NULL,
  `lastactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `useragent` varchar(60) NOT NULL DEFAULT '0',
  `isloggedin` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `sessiontype` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `status` smallint(6) NOT NULL DEFAULT '0',
  `captcha` varchar(10) NOT NULL,
  `iswinapp` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`sessionid`),
  INDEX `sessions1`(`sessiontype`, `lastactivity`, `status`),
  INDEX `typeid`(`typeid`)
)
TYPE=HEAP
ROW_FORMAT=dynamic;
4.74 swsettings
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
settingid int(10) YES YES YES UNSIGNED    
section varchar(50) NO YES NO      
vkey varchar(50) NO YES NO      
data mediumtext NO YES NO      
IndexNameColumns
PRIMARYsettingid
sectionssection,vkey
FKIndex1vkey
Table Create SQL
CREATE TABLE `swsettings` (
  `settingid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `section` varchar(50) NOT NULL,
  `vkey` varchar(50) NOT NULL,
  `data` mediumtext NOT NULL,
  PRIMARY KEY(`settingid`),
  INDEX `sections`(`section`, `vkey`),
  INDEX `FKIndex1`(`vkey`),
  CONSTRAINT `Reference_63` FOREIGN KEY (`vkey`)
    REFERENCES `swregistry`(`vkey`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.75 swsettingsfields
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
sfieldid int(10) YES YES YES UNSIGNED    
sgroupid int(10) NO YES NO UNSIGNED 0  
name varchar(200) NO YES NO      
customvalue mediumtext NO YES NO      
iscustom int(1) NO YES NO UNSIGNED 0  
settingtype varchar(100) NO YES NO   text  
module varchar(100) NO YES NO      
displayorder int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYsfieldid
FKIndex1sgroupid
Table Create SQL
CREATE TABLE `swsettingsfields` (
  `sfieldid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `sgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(200) NOT NULL,
  `customvalue` mediumtext NOT NULL,
  `iscustom` int(1) UNSIGNED NOT NULL DEFAULT '0',
  `settingtype` varchar(100) NOT NULL DEFAULT 'text',
  `module` varchar(100) NOT NULL,
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`sfieldid`),
  INDEX `FKIndex1`(`sgroupid`),
  CONSTRAINT `Reference_65` FOREIGN KEY (`sgroupid`)
    REFERENCES `swsettingsgroups`(`sgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.76 swsettingsgroups
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
sgroupid int(10) YES YES YES UNSIGNED    
name varchar(100) NO YES NO      
module varchar(100) NO YES NO      
displayorder int(5) NO YES NO   0  
ishidden int(1) NO YES NO   0  
IndexNameColumns
PRIMARYsgroupid
Table Create SQL
CREATE TABLE `swsettingsgroups` (
  `sgroupid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `module` varchar(100) NOT NULL,
  `displayorder` int(5) NOT NULL DEFAULT '0',
  `ishidden` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY(`sgroupid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.77 swsignatures
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
signatureid int(10) YES YES YES UNSIGNED    
dateline int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
signature mediumtext NO YES NO      
IndexNameColumns
PRIMARYsignatureid
signatures1staffid
Table Create SQL
CREATE TABLE `swsignatures` (
  `signatureid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `signature` mediumtext NOT NULL,
  PRIMARY KEY(`signatureid`),
  INDEX `signatures1`(`staffid`),
  CONSTRAINT `Reference_92` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.78 swslaplanprioritylink
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
planprioritylinkid int(10) YES YES YES UNSIGNED    
slaplanid int(10) NO YES NO UNSIGNED 0  
priorityid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYplanprioritylinkid
slaplanidslaplanid,priorityid
FKIndex1slaplanid
FKIndex2priorityid
Table Create SQL
CREATE TABLE `swslaplanprioritylink` (
  `planprioritylinkid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `slaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `priorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`planprioritylinkid`),
  UNIQUE INDEX `slaplanid`(`slaplanid`, `priorityid`),
  INDEX `FKIndex1`(`slaplanid`),
  INDEX `FKIndex2`(`priorityid`),
  CONSTRAINT `Reference_67` FOREIGN KEY (`slaplanid`)
    REFERENCES `swslaplans`(`slaplanid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_125` FOREIGN KEY (`priorityid`)
    REFERENCES `swticketpriorities`(`priorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.79 swslaplans
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
slaplanid int(10) YES YES YES UNSIGNED    
departmentid int(10) NO YES NO UNSIGNED 0  
slascheduleid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
overduehrs int(3) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYslaplanid
slaplans1departmentid
slaplans2slascheduleid
Table Create SQL
CREATE TABLE `swslaplans` (
  `slaplanid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `slascheduleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `overduehrs` int(3) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`slaplanid`),
  INDEX `slaplans1`(`departmentid`),
  INDEX `slaplans2`(`slascheduleid`),
  CONSTRAINT `Reference_34` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_72` FOREIGN KEY (`slascheduleid`)
    REFERENCES `swslaschedules`(`slascheduleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.80 swslaplanstatuslink
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
planstatuslinkid int(10) YES YES YES UNSIGNED    
slaplanid int(10) NO YES NO UNSIGNED 0  
ticketstatusid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYplanstatuslinkid
slaplanidslaplanid,ticketstatusid
FKIndex1slaplanid
FKIndex2ticketstatusid
Table Create SQL
CREATE TABLE `swslaplanstatuslink` (
  `planstatuslinkid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `slaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`planstatuslinkid`),
  UNIQUE INDEX `slaplanid`(`slaplanid`, `ticketstatusid`),
  INDEX `FKIndex1`(`slaplanid`),
  INDEX `FKIndex2`(`ticketstatusid`),
  CONSTRAINT `Reference_68` FOREIGN KEY (`slaplanid`)
    REFERENCES `swslaplans`(`slaplanid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_139` FOREIGN KEY (`ticketstatusid`)
    REFERENCES `swticketstatus`(`ticketstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.81 swslaschedules
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
slascheduleid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
sunday_enabled smallint(1) NO YES NO UNSIGNED 0  
sunday_open varchar(6) NO YES NO   00:00  
sunday_close varchar(6) NO YES NO   00:00  
monday_enabled smallint(1) NO YES NO UNSIGNED 0  
monday_open varchar(6) NO YES NO   00:00  
monday_close varchar(6) NO YES NO   00:00  
tuesday_enabled smallint(1) NO YES NO UNSIGNED 0  
tuesday_open varchar(6) NO YES NO   00:00  
tuesday_close varchar(6) NO YES NO   00:00  
wednesday_enabled smallint(1) NO YES NO UNSIGNED 0  
wednesday_open varchar(6) NO YES NO   00:00  
wednesday_close varchar(6) NO YES NO   00:00  
thursday_enabled smallint(1) NO YES NO UNSIGNED 0  
thursday_open varchar(6) NO YES NO   00:00  
thursday_close varchar(6) NO YES NO   00:00  
friday_enabled smallint(1) NO YES NO UNSIGNED 0  
friday_open varchar(6) NO YES NO   00:00  
friday_close varchar(6) NO YES NO   00:00  
saturday_enabled smallint(1) NO YES NO UNSIGNED 0  
saturday_open varchar(6) NO YES NO   00:00  
saturday_close varchar(6) NO YES NO   00:00  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYslascheduleid
Table Create SQL
CREATE TABLE `swslaschedules` (
  `slascheduleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `sunday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `sunday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `sunday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `monday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `monday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `monday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `tuesday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `tuesday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `tuesday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `wednesday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `wednesday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `wednesday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `thursday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `thursday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `thursday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `friday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `friday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `friday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `saturday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `saturday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `saturday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`slascheduleid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.82 swstaff
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
staffid int(10) YES YES YES UNSIGNED    
fullname varchar(100) NO YES NO      
username varchar(30) NO YES NO      
password varchar(32) NO YES NO      
staffgroupid int(10) NO YES NO UNSIGNED 0  
email varchar(150) NO YES NO      
mobilenumber varchar(20) NO YES NO      
lastvisit int(10) NO YES NO UNSIGNED 0  
lastvisit2 int(10) NO YES NO UNSIGNED 0  
lastactivity int(10) NO YES NO UNSIGNED 0  
timezoneoffset varchar(10) NO YES NO   0  
enabledst smallint(1) NO YES NO UNSIGNED 0  
startofweek int(10) NO YES NO UNSIGNED 1  
pmunread int(10) NO YES NO UNSIGNED 0  
groupassigns smallint(1) NO YES NO UNSIGNED 1  
enablepmalerts smallint(1) NO YES NO UNSIGNED 1  
enablepmjsalerts smallint(1) NO YES NO UNSIGNED 1  
ticketviewid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYstaffid
staff1staffgroupid
FKIndex2ticketviewid
Table Create SQL
CREATE TABLE `swstaff` (
  `staffid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `fullname` varchar(100) NOT NULL,
  `username` varchar(30) NOT NULL,
  `password` varchar(32) NOT NULL,
  `staffgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `email` varchar(150) NOT NULL,
  `mobilenumber` varchar(20) NOT NULL,
  `lastvisit` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastvisit2` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timezoneoffset` varchar(10) NOT NULL DEFAULT '0',
  `enabledst` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `startofweek` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `pmunread` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groupassigns` smallint(1) UNSIGNED NOT NULL DEFAULT '1',
  `enablepmalerts` smallint(1) UNSIGNED NOT NULL DEFAULT '1',
  `enablepmjsalerts` smallint(1) UNSIGNED NOT NULL DEFAULT '1',
  `ticketviewid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`staffid`),
  INDEX `staff1`(`staffgroupid`),
  INDEX `FKIndex2`(`ticketviewid`),
  CONSTRAINT `Reference_107` FOREIGN KEY (`staffgroupid`)
    REFERENCES `swstaffgroup`(`staffgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_142` FOREIGN KEY (`ticketviewid`)
    REFERENCES `swticketviews`(`ticketviewid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.83 swstaffassigns
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
staffassignid int(10) YES YES YES UNSIGNED    
departmentid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYstaffassignid
departmentiddepartmentid,staffid
staffassigns2departmentid
staffassigns1staffid
Table Create SQL
CREATE TABLE `swstaffassigns` (
  `staffassignid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`staffassignid`),
  UNIQUE INDEX `departmentid`(`departmentid`, `staffid`),
  INDEX `staffassigns2`(`departmentid`),
  INDEX `staffassigns1`(`staffid`),
  CONSTRAINT `Reference_35` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_93` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.84 swstaffgroup
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
staffgroupid int(10) YES YES YES UNSIGNED    
title varchar(100) NO YES NO      
isadmin smallint(1) NO YES NO   0  
IndexNameColumns
PRIMARYstaffgroupid
staffgroup1isadmin
Table Create SQL
CREATE TABLE `swstaffgroup` (
  `staffgroupid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(100) NOT NULL,
  `isadmin` smallint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY(`staffgroupid`),
  INDEX `staffgroup1`(`isadmin`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.85 swstaffgroupsettings
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
sgroupsettingid int(10) YES YES YES UNSIGNED    
staffgroupid int(10) NO YES NO UNSIGNED 0  
name varchar(100) NO YES NO      
value varchar(255) NO YES NO      
IndexNameColumns
PRIMARYsgroupsettingid
staffgroupidstaffgroupid,name
staffgroupsettings1staffgroupid
Table Create SQL
CREATE TABLE `swstaffgroupsettings` (
  `sgroupsettingid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `staffgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(100) NOT NULL,
  `value` varchar(255) NOT NULL,
  PRIMARY KEY(`sgroupsettingid`),
  UNIQUE INDEX `staffgroupid`(`staffgroupid`, `name`),
  INDEX `staffgroupsettings1`(`staffgroupid`),
  CONSTRAINT `Reference_108` FOREIGN KEY (`staffgroupid`)
    REFERENCES `swstaffgroup`(`staffgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.86 swstaffschedules
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
staffscheduleid int(10) YES YES YES UNSIGNED    
staffid int(10) NO YES NO UNSIGNED 0  
sunday_enabled smallint(1) NO YES NO UNSIGNED 0  
sunday_open varchar(6) NO YES NO   00:00  
sunday_close varchar(6) NO YES NO   00:00  
monday_enabled smallint(1) NO YES NO UNSIGNED 0  
monday_open varchar(6) NO YES NO   00:00  
monday_close varchar(6) NO YES NO   00:00  
tuesday_enabled smallint(1) NO YES NO UNSIGNED 0  
tuesday_open varchar(6) NO YES NO   00:00  
tuesday_close varchar(6) NO YES NO   00:00  
wednesday_enabled smallint(1) NO YES NO UNSIGNED 0  
wednesday_open varchar(6) NO YES NO   00:00  
wednesday_close varchar(6) NO YES NO   00:00  
thursday_enabled smallint(1) NO YES NO UNSIGNED 0  
thursday_open varchar(6) NO YES NO   00:00  
thursday_close varchar(6) NO YES NO   00:00  
friday_enabled smallint(1) NO YES NO UNSIGNED 0  
friday_open varchar(6) NO YES NO   00:00  
friday_close varchar(6) NO YES NO   00:00  
saturday_enabled smallint(1) NO YES NO UNSIGNED 0  
saturday_open varchar(6) NO YES NO   00:00  
saturday_close varchar(6) NO YES NO   00:00  
IndexNameColumns
PRIMARYstaffscheduleid
staffschedules1staffid
Table Create SQL
CREATE TABLE `swstaffschedules` (
  `staffscheduleid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `sunday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `sunday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `sunday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `monday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `monday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `monday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `tuesday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `tuesday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `tuesday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `wednesday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `wednesday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `wednesday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `thursday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `thursday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `thursday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `friday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `friday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `friday_close` varchar(6) NOT NULL DEFAULT '00:00',
  `saturday_enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `saturday_open` varchar(6) NOT NULL DEFAULT '00:00',
  `saturday_close` varchar(6) NOT NULL DEFAULT '00:00',
  PRIMARY KEY(`staffscheduleid`),
  INDEX `staffschedules1`(`staffid`),
  CONSTRAINT `Reference_94` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.87 swsynclog
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
synclogid int(10) YES YES YES UNSIGNED    
synctype smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
syncstatus smallint(1) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
deviceinformation varchar(255) NO YES NO   0  
IndexNameColumns
PRIMARYsynclogid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swsynclog` (
  `synclogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `synctype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `syncstatus` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `deviceinformation` varchar(255) NOT NULL DEFAULT '0',
  PRIMARY KEY(`synclogid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_95` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.88 swsyncworksguid
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
guidid int(10) YES YES YES UNSIGNED    
swguid varchar(50) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYguidid
syncworksguidswguid
Table Create SQL
CREATE TABLE `swsyncworksguid` (
  `guidid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `swguid` varchar(50) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`guidid`),
  INDEX `syncworksguid`(`swguid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.89 swtempfiles
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
tempfileid int(10) YES YES YES UNSIGNED    
filename varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtempfileid
Table Create SQL
CREATE TABLE `swtempfiles` (
  `tempfileid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `filename` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`tempfileid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.90 swtemplatecategories
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
tcategoryid int(10) YES YES YES UNSIGNED    
tgroupid int(10) NO YES NO UNSIGNED 0  
name varchar(60) NO YES NO      
description varchar(255) NO YES NO      
module varchar(100) NO YES NO      
IndexNameColumns
PRIMARYtcategoryid
templatecategories1tgroupid
Table Create SQL
CREATE TABLE `swtemplatecategories` (
  `tcategoryid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(60) NOT NULL,
  `description` varchar(255) NOT NULL,
  `module` varchar(100) NOT NULL,
  PRIMARY KEY(`tcategoryid`),
  INDEX `templatecategories1`(`tgroupid`),
  CONSTRAINT `Reference_113` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.91 swtemplatedata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
templatedataid int(10) YES YES YES UNSIGNED    
templateid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
contentsdefault mediumtext NO YES NO      
IndexNameColumns
PRIMARYtemplatedataid
templatedata1templateid
Table Create SQL
CREATE TABLE `swtemplatedata` (
  `templatedataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `templateid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  `contentsdefault` mediumtext NOT NULL,
  PRIMARY KEY(`templatedataid`),
  INDEX `templatedata1`(`templateid`),
  CONSTRAINT `Reference_117` FOREIGN KEY (`templateid`)
    REFERENCES `swtemplates`(`templateid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.92 swtemplategroups
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
tgroupid int(10) YES YES YES UNSIGNED    
languageid int(10) NO YES NO UNSIGNED 0  
guestusergroupid int(10) NO YES NO UNSIGNED 0  
regusergroupid int(10) NO YES NO UNSIGNED 0  
title varchar(60) NO YES NO      
description varchar(255) NO YES NO      
companyname varchar(255) NO YES NO      
ismaster smallint(1) NO YES NO UNSIGNED 0  
grouppassword varchar(32) NO YES NO   0  
restrictgroups smallint(1) NO YES NO UNSIGNED 0  
isdefault smallint(1) NO YES NO UNSIGNED 0  
loginapi_moduleid int(10) NO YES NO UNSIGNED 0  
ticketstatusid int(10) NO YES NO UNSIGNED 0  
priorityid int(10) NO YES NO UNSIGNED 0  
departmentid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtgroupid
FKIndex1departmentid
FKIndex2languageid
FKIndex3priorityid
FKIndex4ticketstatusid
Table Create SQL
CREATE TABLE `swtemplategroups` (
  `tgroupid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `languageid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `guestusergroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `regusergroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(60) NOT NULL,
  `description` varchar(255) NOT NULL,
  `companyname` varchar(255) NOT NULL,
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `grouppassword` varchar(32) NOT NULL DEFAULT '0',
  `restrictgroups` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `isdefault` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `loginapi_moduleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `priorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`tgroupid`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `FKIndex2`(`languageid`),
  INDEX `FKIndex3`(`priorityid`),
  INDEX `FKIndex4`(`ticketstatusid`),
  CONSTRAINT `Reference_36` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_52` FOREIGN KEY (`languageid`)
    REFERENCES `swlanguages`(`languageid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_126` FOREIGN KEY (`priorityid`)
    REFERENCES `swticketpriorities`(`priorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_140` FOREIGN KEY (`ticketstatusid`)
    REFERENCES `swticketstatus`(`ticketstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.93 swtemplates
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
templateid int(10) YES YES YES UNSIGNED    
tgroupid int(10) NO YES NO UNSIGNED 0  
tcategoryid int(10) NO YES NO UNSIGNED 0  
name varchar(60) NO YES NO      
templatelength int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
modified enum('user','upgrade','notmodified') NO YES NO   notmodified  
contentshash varchar(32) NO YES NO      
contentsdefaulthash varchar(32) NO YES NO      
IndexNameColumns
PRIMARYtemplateid
templates1tgroupid,name
templates2tcategoryid
FKIndex2tgroupid
Table Create SQL
CREATE TABLE `swtemplates` (
  `templateid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tcategoryid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(60) NOT NULL,
  `templatelength` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `modified` enum('user','upgrade','notmodified') NOT NULL DEFAULT 'notmodified',
  `contentshash` varchar(32) NOT NULL,
  `contentsdefaulthash` varchar(32) NOT NULL,
  PRIMARY KEY(`templateid`),
  INDEX `templates1`(`tgroupid`, `name`),
  INDEX `templates2`(`tcategoryid`),
  INDEX `FKIndex2`(`tgroupid`),
  CONSTRAINT `Reference_109` FOREIGN KEY (`tcategoryid`)
    REFERENCES `swtemplatecategories`(`tcategoryid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_114` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.94 swtgroupassigns
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
tgroupassignid int(10) YES YES YES UNSIGNED    
toassignid int(10) NO YES NO UNSIGNED 0  
type smallint(5) NO YES NO UNSIGNED 0  
tgroupid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtgroupassignid
tgroupassigns1tgroupid,type
tgroupassigns2toassignid,type,tgroupid
FKIndex1tgroupid
Table Create SQL
CREATE TABLE `swtgroupassigns` (
  `tgroupassignid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `toassignid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`tgroupassignid`),
  INDEX `tgroupassigns1`(`tgroupid`, `type`),
  INDEX `tgroupassigns2`(`toassignid`, `type`, `tgroupid`),
  INDEX `FKIndex1`(`tgroupid`),
  CONSTRAINT `Reference_115` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.95 swticketdrafts
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketdraftid int(10) YES YES YES UNSIGNED    
ticketid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYticketdraftid
ticketdrafts1ticketid
Table Create SQL
CREATE TABLE `swticketdrafts` (
  `ticketdraftid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`ticketdraftid`),
  INDEX `ticketdrafts1`(`ticketid`),
  CONSTRAINT `Reference_130` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.96 swticketemails
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketemailid int(10) YES YES YES UNSIGNED    
email varchar(255) NO YES NO      
IndexNameColumns
PRIMARYticketemailid
ticketemails1email
Table Create SQL
CREATE TABLE `swticketemails` (
  `ticketemailid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL,
  PRIMARY KEY(`ticketemailid`),
  UNIQUE INDEX `ticketemails1`(`email`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.97 swticketmergelog
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
mergelogid int(10) YES YES YES UNSIGNED    
oldticketid int(10) NO YES NO UNSIGNED 0  
oldticketmaskid varchar(20) NO YES NO      
ticketid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYmergelogid
ticketmergelog1oldticketid
ticketmergelog2oldticketmaskid
FKIndex1staffid
FKIndex2ticketid
Table Create SQL
CREATE TABLE `swticketmergelog` (
  `mergelogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `oldticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `oldticketmaskid` varchar(20) NOT NULL,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`mergelogid`),
  INDEX `ticketmergelog1`(`oldticketid`),
  INDEX `ticketmergelog2`(`oldticketmaskid`),
  INDEX `FKIndex1`(`staffid`),
  INDEX `FKIndex2`(`ticketid`),
  CONSTRAINT `Reference_96` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_131` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.98 swticketmessageids
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketmessageid int(10) YES YES YES UNSIGNED    
messageid varchar(15) NO YES NO      
ticketid int(10) NO YES NO UNSIGNED 0  
ticketpostid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYticketmessageid
ticketmessageids1messageid,ticketid
ticketmessageids2dateline
FKIndex1ticketpostid
FKIndex2ticketid
Table Create SQL
CREATE TABLE `swticketmessageids` (
  `ticketmessageid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `messageid` varchar(15) NOT NULL,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketpostid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`ticketmessageid`),
  INDEX `ticketmessageids1`(`messageid`, `ticketid`),
  INDEX `ticketmessageids2`(`dateline`),
  INDEX `FKIndex1`(`ticketpostid`),
  INDEX `FKIndex2`(`ticketid`),
  CONSTRAINT `Reference_121` FOREIGN KEY (`ticketpostid`)
    REFERENCES `swticketposts`(`ticketpostid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_132` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.99 swticketnotes
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketnoteid int(10) YES YES YES UNSIGNED    
typeid int(10) NO YES NO UNSIGNED 0  
notetype smallint(1) NO YES NO UNSIGNED 0  
forstaffid int(10) NO YES NO UNSIGNED 0  
bystaffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
notes text NO YES NO      
IndexNameColumns
PRIMARYticketnoteid
ticketnotes1typeid,notetype
Table Create SQL
CREATE TABLE `swticketnotes` (
  `ticketnoteid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `typeid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `notetype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `forstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `bystaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `notes` text NOT NULL,
  PRIMARY KEY(`ticketnoteid`),
  INDEX `ticketnotes1`(`typeid`, `notetype`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.100 swticketpostindex
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketwordid int(10) YES YES NO UNSIGNED 0  
ticketpostid int(10) YES YES NO UNSIGNED 0  
insubject smallint(1) YES YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYticketwordid,ticketpostid,insubject
ticketpostindexticketwordid,ticketpostid,insubject
Table Create SQL
CREATE TABLE `swticketpostindex` (
  `ticketwordid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketpostid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `insubject` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`ticketwordid`, `ticketpostid`, `insubject`),
  UNIQUE INDEX `ticketpostindex`(`ticketwordid`, `ticketpostid`, `insubject`)
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.101 swticketposts
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketpostid int(10) YES YES YES UNSIGNED    
ticketid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
userid int(10) NO YES NO UNSIGNED 0  
fullname varchar(255) NO YES NO      
email varchar(255) NO YES NO      
emailto varchar(255) NO YES NO      
subject varchar(255) NO YES NO      
ipaddress varchar(255) NO YES NO      
hasattachments smallint(1) NO YES NO   0  
edited smallint(1) NO YES NO UNSIGNED 0  
editedbystaffid int(10) NO YES NO UNSIGNED 0  
editeddateline int(10) NO YES NO UNSIGNED 0  
creator smallint(1) NO YES NO   0  
ishtml smallint(1) NO YES NO UNSIGNED 0  
isemailed smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
contenthash varchar(32) NO YES NO      
subjecthash varchar(32) NO YES NO      
IndexNameColumns
PRIMARYticketpostid
ticketposts2email,subjecthash
FKIndex1staffid
ticketposts1ticketid
FKIndex3userid
Table Create SQL
CREATE TABLE `swticketposts` (
  `ticketpostid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `fullname` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `emailto` varchar(255) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `ipaddress` varchar(255) NOT NULL,
  `hasattachments` smallint(1) NOT NULL DEFAULT '0',
  `edited` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `editedbystaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `editeddateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `creator` smallint(1) NOT NULL DEFAULT '0',
  `ishtml` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `isemailed` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  `contenthash` varchar(32) NOT NULL,
  `subjecthash` varchar(32) NOT NULL,
  PRIMARY KEY(`ticketpostid`),
  INDEX `ticketposts2`(`email`, `subjecthash`),
  INDEX `FKIndex1`(`staffid`),
  INDEX `ticketposts1`(`ticketid`),
  INDEX `FKIndex3`(`userid`),
  CONSTRAINT `Reference_97` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_133` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_152` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.102 swticketpriorities
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
priorityid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
displayorder int(10) NO YES NO UNSIGNED 0  
type enum('public','private') NO YES NO   public  
frcolorcode varchar(100) NO YES NO      
bgcolorcode varchar(100) NO YES NO      
iscustom smallint(1) NO YES NO UNSIGNED 1  
IndexNameColumns
PRIMARYpriorityid
Table Create SQL
CREATE TABLE `swticketpriorities` (
  `priorityid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` enum('public','private') NOT NULL DEFAULT 'public',
  `frcolorcode` varchar(100) NOT NULL,
  `bgcolorcode` varchar(100) NOT NULL,
  `iscustom` smallint(1) UNSIGNED NOT NULL DEFAULT '1',
  PRIMARY KEY(`priorityid`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.103 swticketrecipients
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
recipientid int(10) YES YES YES UNSIGNED    
ticketid int(10) NO YES NO UNSIGNED 0  
ticketemailid int(10) NO YES NO UNSIGNED 0  
recipienttype smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYrecipientid
ticketrecipientsticketid,ticketemailid
FKIndex1ticketemailid
FKIndex2ticketid
Table Create SQL
CREATE TABLE `swticketrecipients` (
  `recipientid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketemailid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `recipienttype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`recipientid`),
  UNIQUE INDEX `ticketrecipients`(`ticketid`, `ticketemailid`),
  INDEX `FKIndex1`(`ticketemailid`),
  INDEX `FKIndex2`(`ticketid`),
  CONSTRAINT `Reference_118` FOREIGN KEY (`ticketemailid`)
    REFERENCES `swticketemails`(`ticketemailid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_134` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.104 swtickets
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketid int(10) YES YES YES UNSIGNED    
ticketmaskid varchar(20) NO YES NO      
departmentid int(10) NO YES NO UNSIGNED 0  
ticketstatusid int(10) NO YES NO UNSIGNED 0  
priorityid int(10) NO YES NO UNSIGNED 0  
emailqueueid int(10) NO YES NO UNSIGNED 0  
userid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
ownerstaffid int(10) NO YES NO UNSIGNED 0  
assignstatus smallint(1) NO YES NO UNSIGNED 0  
fullname varchar(255) NO YES NO      
email varchar(180) NO YES NO      
lastreplier varchar(255) NO YES NO      
replyto varchar(255) NO YES NO      
subject varchar(160) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
lastactivity int(10) NO YES NO UNSIGNED 0  
laststaffreplytime int(10) NO YES NO UNSIGNED 0  
slaplanid int(10) NO YES NO UNSIGNED 0  
ticketslaplanid int(10) NO YES NO UNSIGNED 0  
duetime int(10) NO YES NO UNSIGNED 0  
totalreplies int(10) NO YES NO UNSIGNED 0  
ipaddress varchar(120) NO YES NO      
flagtype smallint(1) NO YES NO UNSIGNED 0  
hasnotes smallint(1) NO YES NO UNSIGNED 0  
hasattachments smallint(1) NO YES NO UNSIGNED 0  
isemailed smallint(1) NO YES NO UNSIGNED 0  
edited smallint(1) NO YES NO UNSIGNED 0  
editedbystaffid int(10) NO YES NO UNSIGNED 0  
editeddateline int(10) NO YES NO UNSIGNED 0  
creator smallint(1) NO YES NO   0  
charset varchar(100) NO YES NO      
transferencoding varchar(50) NO YES NO      
timeworked int(10) NO YES NO UNSIGNED 0  
dateicon int(10) NO YES NO UNSIGNED 0  
lastpostid int(10) NO YES NO UNSIGNED 0  
firstpostid int(10) NO YES NO UNSIGNED 0  
tgroupid int(10) NO YES NO UNSIGNED 0  
messageid varchar(15) NO YES NO      
escalationruleid int(10) NO YES NO UNSIGNED 0  
hasdraft smallint(1) NO YES NO UNSIGNED 0  
hasbilling smallint(1) NO YES NO UNSIGNED 0  
isphonecall smallint(1) NO YES NO UNSIGNED 0  
isescalated smallint(1) NO YES NO UNSIGNED 0  
phoneno varchar(255) NO YES NO      
autoclosetimeline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYticketid
ticketcountdepartmentid,ticketstatusid,ownerstaffid
tickets2slaplanid,duetime,isescalated
tickets3departmentid,ticketstatusid,lastactivity
tickets4email,subject
FKIndex1departmentid
FKIndex2emailqueueid
FKIndex3escalationruleid
FKIndex4slaplanid
FKIndex5staffid
FKIndex6tgroupid
FKIndex7priorityid
FKIndex8ticketstatusid
tickets1userid
Table Create SQL
CREATE TABLE `swtickets` (
  `ticketid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketmaskid` varchar(20) NOT NULL,
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketstatusid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `priorityid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `emailqueueid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ownerstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `assignstatus` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `fullname` varchar(255) NOT NULL,
  `email` varchar(180) NOT NULL,
  `lastreplier` varchar(255) NOT NULL,
  `replyto` varchar(255) NOT NULL,
  `subject` varchar(160) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `laststaffreplytime` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `slaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketslaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `duetime` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `totalreplies` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ipaddress` varchar(120) NOT NULL,
  `flagtype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `hasnotes` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `hasattachments` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `isemailed` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `edited` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `editedbystaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `editeddateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `creator` smallint(1) NOT NULL DEFAULT '0',
  `charset` varchar(100) NOT NULL,
  `transferencoding` varchar(50) NOT NULL,
  `timeworked` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateicon` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastpostid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `firstpostid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tgroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `messageid` varchar(15) NOT NULL,
  `escalationruleid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `hasdraft` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `hasbilling` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `isphonecall` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `isescalated` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `phoneno` varchar(255) NOT NULL,
  `autoclosetimeline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`ticketid`),
  INDEX `ticketcount`(`departmentid`, `ticketstatusid`, `ownerstaffid`),
  INDEX `tickets2`(`slaplanid`, `duetime`, `isescalated`),
  INDEX `tickets3`(`departmentid`, `ticketstatusid`, `lastactivity`),
  INDEX `tickets4`(`email`, `subject`),
  INDEX `FKIndex1`(`departmentid`),
  INDEX `FKIndex2`(`emailqueueid`),
  INDEX `FKIndex3`(`escalationruleid`),
  INDEX `FKIndex4`(`slaplanid`),
  INDEX `FKIndex5`(`staffid`),
  INDEX `FKIndex6`(`tgroupid`),
  INDEX `FKIndex7`(`priorityid`),
  INDEX `FKIndex8`(`ticketstatusid`),
  INDEX `tickets1`(`userid`),
  CONSTRAINT `Reference_37` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_45` FOREIGN KEY (`emailqueueid`)
    REFERENCES `swemailqueues`(`emailqueueid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_46` FOREIGN KEY (`escalationruleid`)
    REFERENCES `swescalationrules`(`escalationruleid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_69` FOREIGN KEY (`slaplanid`)
    REFERENCES `swslaplans`(`slaplanid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_98` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_116` FOREIGN KEY (`tgroupid`)
    REFERENCES `swtemplategroups`(`tgroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_127` FOREIGN KEY (`priorityid`)
    REFERENCES `swticketpriorities`(`priorityid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_141` FOREIGN KEY (`ticketstatusid`)
    REFERENCES `swticketstatus`(`ticketstatusid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_153` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.105 swticketsearches
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketsearchid int(10) YES YES YES UNSIGNED    
staffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
keywords varchar(255) NO YES NO      
resultscount int(10) NO YES NO UNSIGNED 0  
timetaken float(9,3) NO YES NO UNSIGNED 0  
ticketidlist mediumtext NO YES NO      
rejectedwords varchar(255) NO YES NO      
IndexNameColumns
PRIMARYticketsearchid
ticketsearches1dateline
FKIndex1staffid
Table Create SQL
CREATE TABLE `swticketsearches` (
  `ticketsearchid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `keywords` varchar(255) NOT NULL,
  `resultscount` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timetaken` float(9,3) UNSIGNED NOT NULL DEFAULT '0',
  `ticketidlist` mediumtext NOT NULL,
  `rejectedwords` varchar(255) NOT NULL,
  PRIMARY KEY(`ticketsearchid`),
  INDEX `ticketsearches1`(`dateline`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_99` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.106 swticketstatus
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketstatusid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
displayorder int(10) NO YES NO UNSIGNED 0  
iscustom smallint(1) NO YES NO UNSIGNED 1  
displayinmainlist smallint(1) NO YES NO UNSIGNED 0  
ismaster smallint(1) NO YES NO UNSIGNED 0  
statustype smallint(1) NO YES NO UNSIGNED 0  
displaycount smallint(1) NO YES NO UNSIGNED 0  
statuscolor varchar(50) NO YES NO      
departmentid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYticketstatusid
FKIndex1departmentid
Table Create SQL
CREATE TABLE `swticketstatus` (
  `ticketstatusid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `iscustom` smallint(1) UNSIGNED NOT NULL DEFAULT '1',
  `displayinmainlist` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `statustype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `displaycount` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `statuscolor` varchar(50) NOT NULL,
  `departmentid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`ticketstatusid`),
  INDEX `FKIndex1`(`departmentid`),
  CONSTRAINT `Reference_38` FOREIGN KEY (`departmentid`)
    REFERENCES `swdepartments`(`departmentid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.107 swtickettimetrack
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
timetrackid int(10) YES YES YES UNSIGNED    
ticketid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
creatorstaffid int(10) NO YES NO UNSIGNED 0  
timespent int(10) NO YES NO UNSIGNED 0  
timebillable int(10) NO YES NO UNSIGNED 0  
forstaffid int(10) NO YES NO UNSIGNED 0  
notes mediumtext NO YES NO      
IndexNameColumns
PRIMARYtimetrackid
tickettimetrackticketid
Table Create SQL
CREATE TABLE `swtickettimetrack` (
  `timetrackid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `creatorstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timespent` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timebillable` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `forstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `notes` mediumtext NOT NULL,
  PRIMARY KEY(`timetrackid`),
  INDEX `tickettimetrack`(`ticketid`),
  CONSTRAINT `Reference_135` FOREIGN KEY (`ticketid`)
    REFERENCES `swtickets`(`ticketid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.108 swticketviewfields
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketviewfieldid int(10) YES YES YES UNSIGNED    
ticketviewid int(10) NO YES NO UNSIGNED 0  
ticketviewfieldtype smallint(1) NO YES NO UNSIGNED 0  
customfieldid int(10) NO YES NO UNSIGNED 0  
fieldlinkid smallint(3) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYticketviewfieldid
FKIndex1customfieldid
ticketviewfields1ticketviewid
Table Create SQL
CREATE TABLE `swticketviewfields` (
  `ticketviewfieldid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticketviewid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketviewfieldtype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `customfieldid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `fieldlinkid` smallint(3) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`ticketviewfieldid`),
  INDEX `FKIndex1`(`customfieldid`),
  INDEX `ticketviewfields1`(`ticketviewid`),
  CONSTRAINT `Reference_26` FOREIGN KEY (`customfieldid`)
    REFERENCES `swcustomfields`(`customfieldid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_143` FOREIGN KEY (`ticketviewid`)
    REFERENCES `swticketviews`(`ticketviewid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.109 swticketviews
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketviewid int(10) YES YES YES UNSIGNED    
title varchar(255) NO YES NO      
viewtype smallint(1) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
viewalltickets smallint(1) NO YES NO UNSIGNED 0  
viewunassigned smallint(1) NO YES NO UNSIGNED 0  
viewassigned smallint(1) NO YES NO UNSIGNED 0  
sortby smallint(3) NO YES NO UNSIGNED 0  
sortorder smallint(1) NO YES NO UNSIGNED 0  
ismaster int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
ticketsperpage int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYticketviewid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swticketviews` (
  `ticketviewid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `viewtype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `viewalltickets` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `viewunassigned` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `viewassigned` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `sortby` smallint(3) UNSIGNED NOT NULL DEFAULT '0',
  `sortorder` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `ismaster` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticketsperpage` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`ticketviewid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_100` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.110 swticketwords
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ticketwordid int(10) YES YES YES UNSIGNED    
contents char(50) NO YES NO      
IndexNameColumns
PRIMARYticketwordid
ticketwordscontents
Table Create SQL
CREATE TABLE `swticketwords` (
  `ticketwordid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `contents` char(50) NOT NULL,
  PRIMARY KEY(`ticketwordid`),
  UNIQUE INDEX `ticketwords`(`contents`)
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.111 swtroubleshootercat
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
troubleshootercatid int(10) YES YES YES UNSIGNED    
staffid int(10) NO YES NO UNSIGNED 0  
title varchar(255) NO YES NO      
description varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
views int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtroubleshootercatid
FKIndex1staffid
Table Create SQL
CREATE TABLE `swtroubleshootercat` (
  `troubleshootercatid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `views` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`troubleshootercatid`),
  INDEX `FKIndex1`(`staffid`),
  CONSTRAINT `Reference_101` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.112 swtroubleshooterdata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
troubleshooterdataid int(10) YES YES YES UNSIGNED    
troubleshooterid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYtroubleshooterdataid
troubleshooterdata1troubleshooterid
Table Create SQL
CREATE TABLE `swtroubleshooterdata` (
  `troubleshooterdataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `troubleshooterid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`troubleshooterdataid`),
  INDEX `troubleshooterdata1`(`troubleshooterid`),
  CONSTRAINT `Reference_146` FOREIGN KEY (`troubleshooterid`)
    REFERENCES `swtroubleshootersteps`(`troubleshooterid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.113 swtroubleshooterlinks
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatFIXED
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
troubleshooterlinkid int(10) YES YES YES UNSIGNED    
troubleshootercatid int(10) NO YES NO UNSIGNED 0  
parenttroubleshooterid int(10) NO YES NO UNSIGNED 0  
childtroubleshooterid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtroubleshooterlinkid
troubleshootercatidtroubleshootercatid,parenttroubleshooterid,childtroubleshooterid
FKIndex1troubleshootercatid
Table Create SQL
CREATE TABLE `swtroubleshooterlinks` (
  `troubleshooterlinkid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `troubleshootercatid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `parenttroubleshooterid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `childtroubleshooterid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`troubleshooterlinkid`),
  UNIQUE INDEX `troubleshootercatid`(`troubleshootercatid`, `parenttroubleshooterid`, `childtroubleshooterid`),
  INDEX `FKIndex1`(`troubleshootercatid`),
  CONSTRAINT `Reference_144` FOREIGN KEY (`troubleshootercatid`)
    REFERENCES `swtroubleshootercat`(`troubleshootercatid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=fixed;
4.114 swtroubleshootersteps
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
troubleshooterid int(10) YES YES YES UNSIGNED    
troubleshootercatid int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
subject varchar(255) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
edited smallint(1) NO YES NO UNSIGNED 0  
editedstaffid int(10) NO YES NO UNSIGNED 0  
displayorder int(10) NO YES NO UNSIGNED 0  
views int(10) NO YES NO UNSIGNED 0  
totalcomments int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtroubleshooterid
FKIndex1staffid
troubleshootersteps1troubleshootercatid
Table Create SQL
CREATE TABLE `swtroubleshootersteps` (
  `troubleshooterid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `troubleshootercatid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `subject` varchar(255) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `edited` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `editedstaffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `displayorder` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `views` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `totalcomments` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`troubleshooterid`),
  INDEX `FKIndex1`(`staffid`),
  INDEX `troubleshootersteps1`(`troubleshootercatid`),
  CONSTRAINT `Reference_102` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_145` FOREIGN KEY (`troubleshootercatid`)
    REFERENCES `swtroubleshootercat`(`troubleshootercatid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.115 swtwdeletelog
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
twdeletelogid int(10) YES YES YES UNSIGNED    
entrytype smallint(1) NO YES NO UNSIGNED 0  
entryid varchar(50) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYtwdeletelogid
twdeletelog1dateline
Table Create SQL
CREATE TABLE `swtwdeletelog` (
  `twdeletelogid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `entrytype` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `entryid` varchar(50) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`twdeletelogid`),
  INDEX `twdeletelog1`(`dateline`)
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.116 swuseremails
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
useremailid int(10) YES YES YES UNSIGNED    
userid int(10) NO YES NO UNSIGNED 0  
email varchar(255) NO YES NO      
isprimary smallint(1) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYuseremailid
emailemail
usersemail2email
usersemail1userid
Table Create SQL
CREATE TABLE `swuseremails` (
  `useremailid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `email` varchar(255) NOT NULL,
  `isprimary` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`useremailid`),
  UNIQUE INDEX `email`(`email`),
  INDEX `usersemail2`(`email`),
  INDEX `usersemail1`(`userid`),
  CONSTRAINT `Reference_154` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.117 swusergroups
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
usergroupid int(10) YES YES YES UNSIGNED    
title varchar(100) NO YES NO      
grouptype enum('guest','registered','custom') NO YES NO   custom  
ismaster smallint(1) NO YES NO UNSIGNED 0  
slaplanid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYusergroupid
usergroups1grouptype
FKIndex1slaplanid
Table Create SQL
CREATE TABLE `swusergroups` (
  `usergroupid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(100) NOT NULL,
  `grouptype` enum('guest','registered','custom') NOT NULL DEFAULT 'custom',
  `ismaster` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `slaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`usergroupid`),
  INDEX `usergroups1`(`grouptype`),
  INDEX `FKIndex1`(`slaplanid`),
  CONSTRAINT `Reference_70` FOREIGN KEY (`slaplanid`)
    REFERENCES `swslaplans`(`slaplanid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.118 swusergroupsettings
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
ugroupsettingid int(10) YES YES YES UNSIGNED    
usergroupid int(10) NO YES NO UNSIGNED 0  
name varchar(100) NO YES NO      
value varchar(255) NO YES NO      
IndexNameColumns
PRIMARYugroupsettingid
usergroupidusergroupid,name
usergroupsettings1usergroupid
Table Create SQL
CREATE TABLE `swusergroupsettings` (
  `ugroupsettingid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `usergroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(100) NOT NULL,
  `value` varchar(255) NOT NULL,
  PRIMARY KEY(`ugroupsettingid`),
  UNIQUE INDEX `usergroupid`(`usergroupid`, `name`),
  INDEX `usergroupsettings1`(`usergroupid`),
  CONSTRAINT `Reference_147` FOREIGN KEY (`usergroupid`)
    REFERENCES `swusergroups`(`usergroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.119 swusers
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
userid int(10) YES YES YES UNSIGNED    
usergroupid int(10) NO YES NO UNSIGNED 0  
fullname varchar(200) NO YES NO      
phone varchar(200) NO YES NO      
userpassword varchar(50) NO YES NO      
userpasswordtxt varchar(50) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
lastvisit int(10) NO YES NO UNSIGNED 0  
lastactivity int(10) NO YES NO UNSIGNED 0  
enabled smallint(1) NO YES NO UNSIGNED 0  
loginapi_moduleid int(10) NO YES NO UNSIGNED 1  
loginapi_userid varchar(100) NO YES NO      
languageid int(10) NO YES NO UNSIGNED 0  
timezoneoffset varchar(10) NO YES NO   0  
enabledst smallint(1) NO YES NO UNSIGNED 0  
useremailcount int(10) NO YES NO UNSIGNED 0  
allowemail smallint(1) NO YES NO UNSIGNED 0  
slaplanid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYuserid
users3loginapi_moduleid,loginapi_userid
users4enabled,dateline
FKIndex1languageid
FKIndex2slaplanid
users1usergroupid
Table Create SQL
CREATE TABLE `swusers` (
  `userid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `usergroupid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `fullname` varchar(200) NOT NULL,
  `phone` varchar(200) NOT NULL,
  `userpassword` varchar(50) NOT NULL,
  `userpasswordtxt` varchar(50) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastvisit` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `enabled` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `loginapi_moduleid` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `loginapi_userid` varchar(100) NOT NULL,
  `languageid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timezoneoffset` varchar(10) NOT NULL DEFAULT '0',
  `enabledst` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `useremailcount` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `allowemail` smallint(1) UNSIGNED NOT NULL DEFAULT '0',
  `slaplanid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`userid`),
  INDEX `users3`(`loginapi_moduleid`, `loginapi_userid`),
  INDEX `users4`(`enabled`, `dateline`),
  INDEX `FKIndex1`(`languageid`),
  INDEX `FKIndex2`(`slaplanid`),
  INDEX `users1`(`usergroupid`),
  CONSTRAINT `Reference_53` FOREIGN KEY (`languageid`)
    REFERENCES `swlanguages`(`languageid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_71` FOREIGN KEY (`slaplanid`)
    REFERENCES `swslaplans`(`slaplanid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_148` FOREIGN KEY (`usergroupid`)
    REFERENCES `swusergroups`(`usergroupid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.120 swuserverifyhash
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
userverifyhashid varchar(50) YES YES NO   0  
userid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYuserverifyhashid
FKIndex1userid
Table Create SQL
CREATE TABLE `swuserverifyhash` (
  `userverifyhashid` varchar(50) NOT NULL DEFAULT '0',
  `userid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`userverifyhashid`),
  INDEX `FKIndex1`(`userid`),
  CONSTRAINT `Reference_155` FOREIGN KEY (`userid`)
    REFERENCES `swusers`(`userid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.121 swvisitorbans
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
visitorbanid int(10) YES YES YES UNSIGNED    
ipaddress varchar(50) NO YES NO   0.0.0.0  
dateline int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYvisitorbanid
ipaddressipaddress
visitorbans1ipaddress
visitorbans2staffid
Table Create SQL
CREATE TABLE `swvisitorbans` (
  `visitorbanid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ipaddress` varchar(50) NOT NULL DEFAULT '0.0.0.0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`visitorbanid`),
  UNIQUE INDEX `ipaddress`(`ipaddress`),
  INDEX `visitorbans1`(`ipaddress`),
  INDEX `visitorbans2`(`staffid`),
  CONSTRAINT `Reference_103` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.122 swvisitorfootprints
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeHEAP
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
sessionid varchar(32) NO YES NO      
pageurl varchar(255) NO YES NO      
pagehash varchar(32) NO YES NO      
pagetitle varchar(255) NO YES NO      
country varchar(255) NO YES NO      
countrycode char(2) NO YES NO      
dateline int(10) NO YES NO UNSIGNED 0  
lastactivity int(10) NO YES NO UNSIGNED 0  
ipaddress varchar(80) NO YES NO   0.0.0.0  
hostname varchar(80) NO YES NO      
referrer varchar(255) NO YES NO      
resolution varchar(30) NO YES NO      
colordepth varchar(20) NO YES NO      
appversion varchar(150) NO YES NO      
operatingsys varchar(20) NO YES NO      
browsername varchar(150) NO YES NO      
browserversion varchar(150) NO YES NO      
browsercode char(2) NO YES NO      
searchenginename varchar(20) NO YES NO      
searchstring varchar(255) NO YES NO      
searchengineurl varchar(200) NO YES NO      
platform varchar(150) NO YES NO      
rowbgcolor varchar(7) NO YES NO      
rowfrcolor varchar(7) NO YES NO      
hasnote smallint(5) NO YES NO UNSIGNED 0  
topull smallint(5) NO YES NO UNSIGNED 0  
campaignid int(10) NO YES NO UNSIGNED 0  
campaigntitle varchar(255) NO YES NO      
IndexNameColumns
sessionidsessionid,pagehash
lastactivitylastactivity
FKIndex1campaignid
FKIndex2sessionid
Table Create SQL
CREATE TABLE `swvisitorfootprints` (
  `sessionid` varchar(32) NOT NULL,
  `pageurl` varchar(255) NOT NULL,
  `pagehash` varchar(32) NOT NULL,
  `pagetitle` varchar(255) NOT NULL,
  `country` varchar(255) NOT NULL,
  `countrycode` char(2) NOT NULL,
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `lastactivity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ipaddress` varchar(80) NOT NULL DEFAULT '0.0.0.0',
  `hostname` varchar(80) NOT NULL,
  `referrer` varchar(255) NOT NULL,
  `resolution` varchar(30) NOT NULL,
  `colordepth` varchar(20) NOT NULL,
  `appversion` varchar(150) NOT NULL,
  `operatingsys` varchar(20) NOT NULL,
  `browsername` varchar(150) NOT NULL,
  `browserversion` varchar(150) NOT NULL,
  `browsercode` char(2) NOT NULL,
  `searchenginename` varchar(20) NOT NULL,
  `searchstring` varchar(255) NOT NULL,
  `searchengineurl` varchar(200) NOT NULL,
  `platform` varchar(150) NOT NULL,
  `rowbgcolor` varchar(7) NOT NULL,
  `rowfrcolor` varchar(7) NOT NULL,
  `hasnote` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
  `topull` smallint(5) UNSIGNED NOT NULL DEFAULT '0',
  `campaignid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `campaigntitle` varchar(255) NOT NULL,
  INDEX `sessionid`(`sessionid`, `pagehash`),
  INDEX `lastactivity`(`lastactivity`),
  INDEX `FKIndex1`(`campaignid`),
  INDEX `FKIndex2`(`sessionid`),
  CONSTRAINT `Reference_03` FOREIGN KEY (`campaignid`)
    REFERENCES `swadcampaigns`(`campaignid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION,
  CONSTRAINT `Reference_64` FOREIGN KEY (`sessionid`)
    REFERENCES `swsessions`(`sessionid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=HEAP
ROW_FORMAT=dynamic;
4.123 swvisitornotedata
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
visitornotedataid int(10) YES YES YES UNSIGNED    
visitornoteid int(10) NO YES NO UNSIGNED 0  
contents mediumtext NO YES NO      
IndexNameColumns
PRIMARYvisitornotedataid
visitornotedata1visitornoteid
Table Create SQL
CREATE TABLE `swvisitornotedata` (
  `visitornotedataid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `visitornoteid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contents` mediumtext NOT NULL,
  PRIMARY KEY(`visitornotedataid`),
  INDEX `visitornotedata1`(`visitornoteid`),
  CONSTRAINT `Reference_156` FOREIGN KEY (`visitornoteid`)
    REFERENCES `swvisitornotes`(`visitornoteid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.124 swvisitornotes
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeMYISAM
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
visitornoteid int(10) YES YES YES UNSIGNED    
ipaddress varchar(50) NO YES NO   0.0.0.0  
dateline int(10) NO YES NO UNSIGNED 0  
staffid int(10) NO YES NO UNSIGNED 0  
staffname varchar(150) NO YES NO      
IndexNameColumns
PRIMARYvisitornoteid
visitornotes1ipaddress
visitornotes2staffid
Table Create SQL
CREATE TABLE `swvisitornotes` (
  `visitornoteid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `ipaddress` varchar(50) NOT NULL DEFAULT '0.0.0.0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `staffname` varchar(150) NOT NULL,
  PRIMARY KEY(`visitornoteid`),
  INDEX `visitornotes1`(`ipaddress`),
  INDEX `visitornotes2`(`staffid`),
  CONSTRAINT `Reference_104` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=MYISAM
ROW_FORMAT=dynamic;
4.125 swvisitorpulls
Table Description
 
Table Annotation
 
Param NameParam Value
Table TypeHEAP
Row FormatDYNAMIC
TemporaryNO
Row ChecksumNO
Column Name Data Type Primary Key Not Null AutoInc Flags Default Value Comment
visitorsessionid varchar(32) YES YES NO      
staffid int(10) NO YES NO UNSIGNED 0  
dateline int(10) NO YES NO UNSIGNED 0  
IndexNameColumns
PRIMARYvisitorsessionid
visitorpulls1staffid
Table Create SQL
CREATE TABLE `swvisitorpulls` (
  `visitorsessionid` varchar(32) NOT NULL,
  `staffid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `dateline` int(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY(`visitorsessionid`),
  INDEX `visitorpulls1`(`staffid`),
  CONSTRAINT `Reference_105` FOREIGN KEY (`staffid`)
    REFERENCES `swstaff`(`staffid`)
      ON DELETE NO ACTION
      ON UPDATE NO ACTION
)
TYPE=HEAP
ROW_FORMAT=dynamic;
5. References
5.1 Reference_01
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swadcampaigns swadhitlogs NO ACTION NO ACTION campaignid=campaignid
5.2 Reference_02
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swadcampaigns swadsearchqueries NO ACTION NO ACTION campaignid=campaignid
5.3 Reference_03
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swadcampaigns swvisitorfootprints NO ACTION NO ACTION campaignid=campaignid
5.4 Reference_04
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swalertrules swalertactions NO ACTION NO ACTION alertruleid=alertruleid
5.5 Reference_05
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swattachments swattachmentchunks NO ACTION NO ACTION attachmentid=attachmentid
5.6 Reference_06
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarcategories swcalendarevents NO ACTION NO ACTION calendarcategoryid=calendarcategoryid
5.7 Reference_07
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarcategories swcontacts NO ACTION NO ACTION calendarcategoryid=calendarcategoryid
5.8 Reference_08
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarlabels swcalendarevents NO ACTION NO ACTION calendarlabelid=calendarlabelid
5.9 Reference_09
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarlabels swcalendartasks NO ACTION NO ACTION calendarlabelid=calendarlabelid
5.10 Reference_10
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarpriorities swcalendartasks NO ACTION NO ACTION calendarpriorityid=calendarpriorityid
5.11 Reference_11
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarstatus swcalendarevents NO ACTION NO ACTION calendarstatusid=calendarstatusid
5.12 Reference_12
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcalendarstatus swcalendartasks NO ACTION NO ACTION calendarstatusid=calendarstatusid
5.13 Reference_13
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcannedcategories swcannedresponses NO ACTION NO ACTION cannedcategoryid=cannedcategoryid
5.14 Reference_14
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcannedresponses swcannedresponsedata NO ACTION NO ACTION cannedresponseid=cannedresponseid
5.15 Reference_15
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swchatchilds swmessagequeue NO ACTION NO ACTION chatchildid=chatchildid
5.16 Reference_16
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swchatobjects swchatchilds NO ACTION NO ACTION chatobjectid=chatobjectid
5.17 Reference_17
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swchatobjects swchatdata NO ACTION NO ACTION chatobjectid=chatobjectid
5.18 Reference_18
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swchatobjects swmessagequeue NO ACTION NO ACTION chatobjectid=chatobjectid
5.19 Reference_19
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcomments swcommentdata NO ACTION NO ACTION commentid=commentid
5.20 Reference_20
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcontacts swcalendartasks NO ACTION NO ACTION contactid=contactid
5.21 Reference_21
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcron swcronlogs NO ACTION NO ACTION cronid=cronid
5.22 Reference_22
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcustomfieldgroups swcustomfieldlinks NO ACTION NO ACTION customfieldgroupid=customfieldgroupid
5.23 Reference_23
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcustomfieldgroups swcustomfields NO ACTION NO ACTION customfieldgroupid=customfieldgroupid
5.24 Reference_24
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcustomfields swcustomfieldoptions NO ACTION NO ACTION customfieldid=customfieldid
5.25 Reference_25
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcustomfields swcustomfieldvalues NO ACTION NO ACTION customfieldid=customfieldid
5.26 Reference_26
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swcustomfields swticketviewfields NO ACTION NO ACTION customfieldid=customfieldid
5.27 Reference_27
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swalertrules NO ACTION NO ACTION departmentid=departmentid
5.28 Reference_28
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swauditlogs NO ACTION NO ACTION departmentid=departmentid
5.29 Reference_29
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swchatobjects NO ACTION NO ACTION departmentid=departmentid
5.30 Reference_30
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swemailqueues NO ACTION NO ACTION departmentid=departmentid
5.31 Reference_31
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swescalationrules NO ACTION NO ACTION departmentid=departmentid
5.32 Reference_32
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swgroupassigns NO ACTION NO ACTION departmentid=departmentid
5.33 Reference_33
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swmessages NO ACTION NO ACTION departmentid=departmentid
5.34 Reference_34
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swslaplans NO ACTION NO ACTION departmentid=departmentid
5.35 Reference_35
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swstaffassigns NO ACTION NO ACTION departmentid=departmentid
5.36 Reference_36
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swtemplategroups NO ACTION NO ACTION departmentid=departmentid
5.37 Reference_37
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swtickets NO ACTION NO ACTION departmentid=departmentid
5.38 Reference_38
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdepartments swticketstatus NO ACTION NO ACTION departmentid=departmentid
5.39 Reference_39
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdownloadcategories swdownloaditems NO ACTION NO ACTION downloadcategoryid=downloadcategoryid
5.40 Reference_40
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdownloaditems swattachments NO ACTION NO ACTION downloaditemid=downloaditemid
5.41 Reference_41
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swdownloaditems swdownloaddesc NO ACTION NO ACTION downloaditemid=downloaditemid
5.42 Reference_42
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swemailqueues swcatchallrules NO ACTION NO ACTION emailqueueid=emailqueueid
5.43 Reference_43
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swemailqueues swparserlogs NO ACTION NO ACTION emailqueueid=emailqueueid
5.44 Reference_44
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swemailqueues swqueuesignatures NO ACTION NO ACTION emailqueueid=emailqueueid
5.45 Reference_45
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swemailqueues swtickets NO ACTION NO ACTION emailqueueid=emailqueueid
5.46 Reference_46
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swescalationrules swtickets NO ACTION NO ACTION escalationruleid=escalationruleid
5.47 Reference_47
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swkbarticles swkbarticledata NO ACTION NO ACTION kbarticleid=kbarticleid
5.48 Reference_48
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swkbarticles swkbarticlefiles NO ACTION NO ACTION kbarticleid=kbarticleid
5.49 Reference_49
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swkbarticles swkbarticlelinks NO ACTION NO ACTION kbarticleid=kbarticleid
5.50 Reference_50
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swkbcategories swkbarticlelinks NO ACTION NO ACTION kbcategoryid=kbcategoryid
5.51 Reference_51
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swlanguages swlanguagephrases NO ACTION NO ACTION languageid=languageid
5.52 Reference_52
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swlanguages swtemplategroups NO ACTION NO ACTION languageid=languageid
5.53 Reference_53
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swlanguages swusers NO ACTION NO ACTION languageid=languageid
5.54 Reference_54
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swmessages swmessagedata NO ACTION NO ACTION messageid=messageid
5.55 Reference_55
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swnews swnewsdata NO ACTION NO ACTION newsid=newsid
5.56 Reference_56
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swnewssubscribers swnewsverihash NO ACTION NO ACTION newssubscriberid=newssubscriberid
5.57 Reference_57
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swparserlogs swparserlogdata NO ACTION NO ACTION parserlogid=parserlogid
5.58 Reference_58
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swparserrules swruleactions NO ACTION NO ACTION parserruleid=parserruleid
5.59 Reference_59
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swparserrules swrulecriteria NO ACTION NO ACTION parserruleid=parserruleid
5.60 Reference_60
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swpredefinedcategories swpredefinedreplies NO ACTION NO ACTION predefinedcategoryid=predefinedcategoryid
5.61 Reference_61
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swpredefinedreplies swpredefinedreplydata NO ACTION NO ACTION predefinedreplyid=predefinedreplyid
5.62 Reference_62
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swprivatemessages swprivatemessagedata NO ACTION NO ACTION privatemessageid=privatemessageid
5.63 Reference_63
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swregistry swsettings NO ACTION NO ACTION vkey=vkey
5.64 Reference_64
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swsessions swvisitorfootprints NO ACTION NO ACTION sessionid=sessionid
5.65 Reference_65
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swsettingsgroups swsettingsfields NO ACTION NO ACTION sgroupid=sgroupid
5.66 Reference_66
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaplans swescalationrules NO ACTION NO ACTION slaplanid=slaplanid
5.67 Reference_67
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaplans swslaplanprioritylink NO ACTION NO ACTION slaplanid=slaplanid
5.68 Reference_68
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaplans swslaplanstatuslink NO ACTION NO ACTION slaplanid=slaplanid
5.69 Reference_69
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaplans swtickets NO ACTION NO ACTION slaplanid=slaplanid
5.70 Reference_70
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaplans swusergroups NO ACTION NO ACTION slaplanid=slaplanid
5.71 Reference_71
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaplans swusers NO ACTION NO ACTION slaplanid=slaplanid
5.72 Reference_72
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swslaschedules swslaplans NO ACTION NO ACTION slascheduleid=slascheduleid
5.73 Reference_73
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swalertrules NO ACTION NO ACTION staffid=staffid
5.74 Reference_74
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swauditlogs NO ACTION NO ACTION staffid=staffid
5.75 Reference_75
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swcalendarevents NO ACTION NO ACTION staffid=staffid
5.76 Reference_76
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swcalendartasks NO ACTION NO ACTION staffid=staffid
5.77 Reference_77
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swcannedcategories NO ACTION NO ACTION staffid=staffid
5.78 Reference_78
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swcannedresponses NO ACTION NO ACTION staffid=staffid
5.79 Reference_79
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swchatchilds NO ACTION NO ACTION staffid=staffid
5.80 Reference_80
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swchatobjects NO ACTION NO ACTION staffid=staffid
5.81 Reference_81
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swcontacts NO ACTION NO ACTION staffid=staffid
5.82 Reference_82
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swdownloadcategories NO ACTION NO ACTION staffid=staffid
5.83 Reference_83
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swescalationrules NO ACTION NO ACTION staffid=staffid
5.84 Reference_84
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swkbarticles NO ACTION NO ACTION staffid=staffid
5.85 Reference_85
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swkbcategories NO ACTION NO ACTION staffid=staffid
5.86 Reference_86
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swmessagequeue NO ACTION NO ACTION staffid=staffid
5.87 Reference_87
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swmessages NO ACTION NO ACTION staffid=staffid
5.88 Reference_88
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swnews NO ACTION NO ACTION staffid=staffid
5.89 Reference_89
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swparserbans NO ACTION NO ACTION staffid=staffid
5.90 Reference_90
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swpredefinedcategories NO ACTION NO ACTION staffid=staffid
5.91 Reference_91
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swpredefinedreplies NO ACTION NO ACTION staffid=staffid
5.92 Reference_92
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swsignatures NO ACTION NO ACTION staffid=staffid
5.93 Reference_93
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swstaffassigns NO ACTION NO ACTION staffid=staffid
5.94 Reference_94
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swstaffschedules NO ACTION NO ACTION staffid=staffid
5.95 Reference_95
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swsynclog NO ACTION NO ACTION staffid=staffid
5.96 Reference_96
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swticketmergelog NO ACTION NO ACTION staffid=staffid
5.97 Reference_97
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swticketposts NO ACTION NO ACTION staffid=staffid
5.98 Reference_98
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swtickets NO ACTION NO ACTION staffid=staffid
5.99 Reference_99
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swticketsearches NO ACTION NO ACTION staffid=staffid
5.100 Reference_100
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swticketviews NO ACTION NO ACTION staffid=staffid
5.101 Reference_101
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swtroubleshootercat NO ACTION NO ACTION staffid=staffid
5.102 Reference_102
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swtroubleshootersteps NO ACTION NO ACTION staffid=staffid
5.103 Reference_103
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swvisitorbans NO ACTION NO ACTION staffid=staffid
5.104 Reference_104
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swvisitornotes NO ACTION NO ACTION staffid=staffid
5.105 Reference_105
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaff swvisitorpulls NO ACTION NO ACTION staffid=staffid
5.106 Reference_106
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaffgroup swgroupassigns NO ACTION NO ACTION staffgroupid=staffgroupid
5.107 Reference_107
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaffgroup swstaff NO ACTION NO ACTION staffgroupid=staffgroupid
5.108 Reference_108
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swstaffgroup swstaffgroupsettings NO ACTION NO ACTION staffgroupid=staffgroupid
5.109 Reference_109
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplatecategories swtemplates NO ACTION NO ACTION tcategoryid=tcategoryid
5.110 Reference_110
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swemailqueues NO ACTION NO ACTION tgroupid=tgroupid
5.111 Reference_111
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swnews NO ACTION NO ACTION tgroupid=tgroupid
5.112 Reference_112
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swnewssubscribers NO ACTION NO ACTION tgroupid=tgroupid
5.113 Reference_113
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swtemplatecategories NO ACTION NO ACTION tgroupid=tgroupid
5.114 Reference_114
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swtemplates NO ACTION NO ACTION tgroupid=tgroupid
5.115 Reference_115
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swtgroupassigns NO ACTION NO ACTION tgroupid=tgroupid
5.116 Reference_116
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplategroups swtickets NO ACTION NO ACTION tgroupid=tgroupid
5.117 Reference_117
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtemplates swtemplatedata NO ACTION NO ACTION templateid=templateid
5.118 Reference_118
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketemails swticketrecipients NO ACTION NO ACTION ticketemailid=ticketemailid
5.119 Reference_119
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketposts swattachments NO ACTION NO ACTION ticketpostid=ticketpostid
5.120 Reference_120
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketposts swparserlogs NO ACTION NO ACTION ticketpostid=ticketpostid
5.121 Reference_121
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketposts swticketmessageids NO ACTION NO ACTION ticketpostid=ticketpostid
5.122 Reference_122
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketpriorities swalertrules NO ACTION NO ACTION priorityid=priorityid
5.123 Reference_123
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketpriorities swemailqueues NO ACTION NO ACTION priorityid=priorityid
5.124 Reference_124
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketpriorities swescalationrules NO ACTION NO ACTION priorityid=priorityid
5.125 Reference_125
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketpriorities swslaplanprioritylink NO ACTION NO ACTION priorityid=priorityid
5.126 Reference_126
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketpriorities swtemplategroups NO ACTION NO ACTION priorityid=priorityid
5.127 Reference_127
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketpriorities swtickets NO ACTION NO ACTION priorityid=priorityid
5.128 Reference_128
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swattachments NO ACTION NO ACTION ticketid=ticketid
5.129 Reference_129
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swauditlogs NO ACTION NO ACTION ticketid=ticketid
5.130 Reference_130
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swticketdrafts NO ACTION NO ACTION ticketid=ticketid
5.131 Reference_131
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swticketmergelog NO ACTION NO ACTION ticketid=ticketid
5.132 Reference_132
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swticketmessageids NO ACTION NO ACTION ticketid=ticketid
5.133 Reference_133
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swticketposts NO ACTION NO ACTION ticketid=ticketid
5.134 Reference_134
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swticketrecipients NO ACTION NO ACTION ticketid=ticketid
5.135 Reference_135
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtickets swtickettimetrack NO ACTION NO ACTION ticketid=ticketid
5.136 Reference_136
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketstatus swalertrules NO ACTION NO ACTION ticketstatusid=ticketstatusid
5.137 Reference_137
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketstatus swemailqueues NO ACTION NO ACTION ticketstatusid=ticketstatusid
5.138 Reference_138
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketstatus swescalationrules NO ACTION NO ACTION ticketstatusid=ticketstatusid
5.139 Reference_139
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketstatus swslaplanstatuslink NO ACTION NO ACTION ticketstatusid=ticketstatusid
5.140 Reference_140
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketstatus swtemplategroups NO ACTION NO ACTION ticketstatusid=ticketstatusid
5.141 Reference_141
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketstatus swtickets NO ACTION NO ACTION ticketstatusid=ticketstatusid
5.142 Reference_142
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketviews swstaff NO ACTION NO ACTION ticketviewid=ticketviewid
5.143 Reference_143
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swticketviews swticketviewfields NO ACTION NO ACTION ticketviewid=ticketviewid
5.144 Reference_144
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtroubleshootercat swtroubleshooterlinks NO ACTION NO ACTION troubleshootercatid=troubleshootercatid
5.145 Reference_145
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtroubleshootercat swtroubleshootersteps NO ACTION NO ACTION troubleshootercatid=troubleshootercatid
5.146 Reference_146
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swtroubleshootersteps swtroubleshooterdata NO ACTION NO ACTION troubleshooterid=troubleshooterid
5.147 Reference_147
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusergroups swusergroupsettings NO ACTION NO ACTION usergroupid=usergroupid
5.148 Reference_148
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusergroups swusers NO ACTION NO ACTION usergroupid=usergroupid
5.149 Reference_149
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swauditlogs NO ACTION NO ACTION userid=userid
5.150 Reference_150
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swchatobjects NO ACTION NO ACTION userid=userid
5.151 Reference_151
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swnewssubscribers NO ACTION NO ACTION userid=userid
5.152 Reference_152
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swticketposts NO ACTION NO ACTION userid=userid
5.153 Reference_153
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swtickets NO ACTION NO ACTION userid=userid
5.154 Reference_154
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swuseremails NO ACTION NO ACTION userid=userid
5.155 Reference_155
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swusers swuserverifyhash NO ACTION NO ACTION userid=userid
5.156 Reference_156
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swvisitornotes swvisitornotedata NO ACTION NO ACTION visitornoteid=visitornoteid
5.157 Reference_157
Reference Description
 
Reference Annotation
 
Source Table Target Table Delete Action Update Action Link
swvisitorpulls swchatobjects NO ACTION NO ACTION visitorsessionid=visitorsessionid
6. Stored Procedures
7. Views