Lines 3872-3877
CREATE TABLE `letter` (
Link Here
|
3872 |
`message_transport_type` varchar(20) NOT NULL DEFAULT 'email' COMMENT 'transport type for this notice', |
3872 |
`message_transport_type` varchar(20) NOT NULL DEFAULT 'email' COMMENT 'transport type for this notice', |
3873 |
`lang` varchar(25) NOT NULL DEFAULT 'default' COMMENT 'lang of the notice', |
3873 |
`lang` varchar(25) NOT NULL DEFAULT 'default' COMMENT 'lang of the notice', |
3874 |
`updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'last modification', |
3874 |
`updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'last modification', |
|
|
3875 |
`font_size` int(4) NOT NULL DEFAULT 14 COMMENT 'font size used when notice is printed', |
3876 |
`text_justify` char(1) NOT NULL DEFAULT 'L' COMMENT 'text justification used when notice is printed', |
3877 |
`units` char(20) NOT NULL DEFAULT 'INCH' COMMENT 'units to use for print measurements', |
3878 |
`notice_width` float NOT NULL DEFAULT 8.5 COMMENT 'width of notice', |
3879 |
`top_margin` float NOT NULL DEFAULT 0 COMMENT 'top margin for notice', |
3880 |
`left_margin` float NOT NULL DEFAULT 0 COMMENT 'left margin for notice', |
3875 |
PRIMARY KEY (`id`), |
3881 |
PRIMARY KEY (`id`), |
3876 |
UNIQUE KEY `letter_uniq_1` (`module`,`code`,`branchcode`,`message_transport_type`,`lang`), |
3882 |
UNIQUE KEY `letter_uniq_1` (`module`,`code`,`branchcode`,`message_transport_type`,`lang`), |
3877 |
KEY `message_transport_type_fk` (`message_transport_type`), |
3883 |
KEY `message_transport_type_fk` (`message_transport_type`), |
3878 |
- |
|
|