View | Details | Raw Unified | Return to bug 6716
Collapse All | Expand All

(-)a/installer/data/mysql/kohastructure.sql (-7 / +6 lines)
Lines 1179-1191 CREATE TABLE `creator_templates` ( Link Here
1179
1179
1180
DROP TABLE IF EXISTS `letter`;
1180
DROP TABLE IF EXISTS `letter`;
1181
CREATE TABLE `letter` ( -- table for all notice templates in Koha
1181
CREATE TABLE `letter` ( -- table for all notice templates in Koha
1182
  `module` varchar(20) NOT NULL default '', -- Koha module that triggers this notice
1182
  `module` varchar(20) NOT NULL default '', -- Koha module that triggers this notice or slip
1183
  `code` varchar(20) NOT NULL default '', -- unique identifier for this notice
1183
  `code` varchar(20) NOT NULL default '', -- unique identifier for this notice or slip
1184
  `branchcode` varchar(10) default NULL, -- foreign key, linking to the branches table for the location the item was checked out
1184
  `branchcode` varchar(10) default NULL, -- the branch this notice or slip is used at (branches.branchcode)
1185
  `name` varchar(100) NOT NULL default '', -- plain text name for this notice
1185
  `name` varchar(100) NOT NULL default '', -- plain text name for this notice or slip
1186
  `is_html` tinyint(1) default 0,
1186
  `is_html` tinyint(1) default 0, -- does this notice or slip use HTML (1 for yes, 0 for no)
1187
  `title` varchar(200) NOT NULL default '', -- subject line of the notice
1187
  `title` varchar(200) NOT NULL default '', -- subject line of the notice
1188
  `content` text, -- body text for the notice
1188
  `content` text, -- body text for the notice or slip
1189
  PRIMARY KEY  (`module`,`code`, `branchcode`)
1189
  PRIMARY KEY  (`module`,`code`, `branchcode`)
1190
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1190
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1191
1191
1192
- 

Return to bug 6716