Lines 3900-3905
CREATE TABLE `letter` (
Link Here
|
3900 |
`message_transport_type` varchar(20) NOT NULL DEFAULT 'email' COMMENT 'transport type for this notice', |
3900 |
`message_transport_type` varchar(20) NOT NULL DEFAULT 'email' COMMENT 'transport type for this notice', |
3901 |
`lang` varchar(25) NOT NULL DEFAULT 'default' COMMENT 'lang of the notice', |
3901 |
`lang` varchar(25) NOT NULL DEFAULT 'default' COMMENT 'lang of the notice', |
3902 |
`updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'last modification', |
3902 |
`updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'last modification', |
|
|
3903 |
`font_size` int(4) NOT NULL DEFAULT 14 COMMENT 'font size used when notice is printed', |
3904 |
`text_justify` enum('L','C','R') NOT NULL DEFAULT 'L' COMMENT 'text justification used when notice is printed', |
3905 |
`units` enum('POINT','INCH','MM','CM') NOT NULL DEFAULT 'INCH' COMMENT 'units to use for print measurements', |
3906 |
`notice_width` float NOT NULL DEFAULT 8.5 COMMENT 'width of notice', |
3907 |
`top_margin` float NOT NULL DEFAULT 0 COMMENT 'top margin for notice', |
3908 |
`left_margin` float NOT NULL DEFAULT 0 COMMENT 'left margin for notice', |
3903 |
PRIMARY KEY (`id`), |
3909 |
PRIMARY KEY (`id`), |
3904 |
UNIQUE KEY `letter_uniq_1` (`module`,`code`,`branchcode`,`message_transport_type`,`lang`), |
3910 |
UNIQUE KEY `letter_uniq_1` (`module`,`code`,`branchcode`,`message_transport_type`,`lang`), |
3905 |
KEY `message_transport_type_fk` (`message_transport_type`), |
3911 |
KEY `message_transport_type_fk` (`message_transport_type`), |
3906 |
- |
|
|