diff --git a/core/trunk/data_fr.sql b/core/trunk/data_fr.sql index 471247b9a7aa60d7876fcf467a066724c0563e95..eed49fb0341279eb2d1699f48da2fffcf83355be 100644 --- a/core/trunk/data_fr.sql +++ b/core/trunk/data_fr.sql @@ -1256,15 +1256,15 @@ VALUES ('OAIS_RM', 'OAIS_RM', 'Y', 'Y', 100, 'Y', '7Z', 'Y', 'OAIS_std.dtd', 'Y' --DOCSERVERS-- -------------- INSERT INTO docservers (docserver_id, docserver_type_id, device_label, is_readonly, enabled, size_limit_number, actual_size_number, path_template, ext_docserver_info, chain_before, chain_after, creation_date, closing_date, coll_id, priority_number, docserver_location_id, adr_priority_number) -VALUES ('FASTHD_RM_BATCH', 'FASTHD', '[archivage] FASTHD RM BATCH', 'N', 'Y', 50000000000, 1, 'C:\\maarch\\docservers\\entreprise\\RM_BATCH\\', '1', '1', '1', '2012-08-23 00:00:00', NULL, 'rm_coll', 2, 'NANTERRE', 2); +VALUES ('FASTHD_RM_BATCH', 'FASTHD', '[archivage] FASTHD RM BATCH', 'N', 'Y', 50000000000, 1, 'C:\\maarch\\docservers\\entreprise\\RM_BATCH\\', '', '', '', '2012-08-23 00:00:00', NULL, 'rm_coll', 2, 'NANTERRE', 2); INSERT INTO docservers (docserver_id, docserver_type_id, device_label, is_readonly, enabled, size_limit_number, actual_size_number, path_template, ext_docserver_info, chain_before, chain_after, creation_date, closing_date, coll_id, priority_number, docserver_location_id, adr_priority_number) -VALUES ('FASTHD_RM_MAN', 'FASTHD', '[archivage] FASTHD RM MANUAL', 'N', 'Y', 50000000000, 1, 'C:\\maarch\\docservers\\entreprise\\RM_MAN\\', '1', '1', '1', '2012-08-23 00:00:00', NULL, 'rm_coll', 1, 'NANTERRE', 1); +VALUES ('FASTHD_RM_MAN', 'FASTHD', '[archivage] FASTHD RM MANUAL', 'N', 'Y', 50000000000, 1, 'C:\\maarch\\docservers\\entreprise\\RM_MAN\\', '', '', '', '2012-08-23 00:00:00', NULL, 'rm_coll', 1, 'NANTERRE', 1); INSERT INTO docservers (docserver_id, docserver_type_id, device_label, is_readonly, enabled, size_limit_number, actual_size_number, path_template, ext_docserver_info, chain_before, chain_after, creation_date, closing_date, coll_id, priority_number, docserver_location_id, adr_priority_number) VALUES ('IOS', 'IOS', '[archivage] IOS', 'N', 'Y', 50000000000, 1, 'C:\\maarch\\docservers\\entreprise\\IOS\\', NULL, NULL, NULL, '2012-08-28 15:43:05.922', NULL, 'io_coll', 1, 'NANTERRE', 1); INSERT INTO docservers (docserver_id, docserver_type_id, device_label, is_readonly, enabled, size_limit_number, actual_size_number, path_template, ext_docserver_info, chain_before, chain_after, creation_date, closing_date, coll_id, priority_number, docserver_location_id, adr_priority_number) -VALUES ('OAIS_RM', 'OAIS_RM', '[archivage] Zone de stockage OAIS des archives', 'N', 'Y', 100000000000, 1, 'C:\\maarch\\docservers\\entreprise\\OAIS_RM\\', '1', '1', '1', '2012-08-23 00:00:00', NULL, 'rm_coll', 3, 'NANTERRE', 3); +VALUES ('OAIS_RM', 'OAIS_RM', '[archivage] Zone de stockage OAIS des archives', 'N', 'Y', 100000000000, 1, 'C:\\maarch\\docservers\\entreprise\\OAIS_RM\\', '', '', '', '2012-08-23 00:00:00', NULL, 'rm_coll', 3, 'NANTERRE', 3); INSERT INTO docservers (docserver_id, docserver_type_id, device_label, is_readonly, enabled, size_limit_number, actual_size_number, path_template, ext_docserver_info, chain_before, chain_after, creation_date, closing_date, coll_id, priority_number, docserver_location_id, adr_priority_number) -VALUES ('LOG', 'FASTHD', '[archivage] Zone de stockage des logs', 'N', 'Y', 10000000000, 1, 'C:\\maarch\\docservers\\entreprise\\LOG\\', '1', '1', '1', '2012-08-23 00:00:00', NULL, 'log_coll', 100, 'NANTERRE', 100); +VALUES ('LOG', 'FASTHD', '[archivage] Zone de stockage des logs', 'N', 'Y', 10000000000, 1, 'C:\\maarch\\docservers\\entreprise\\LOG\\', '', '', '', '2012-08-23 00:00:00', NULL, 'log_coll', 100, 'NANTERRE', 100); --------------- --FOLDERTYPES-- diff --git a/core/trunk/structure.sql b/core/trunk/structure.sql index 305c9a97889eaf7c4688979879714228f95a7a15..82442b71e81eb97cfe7179968631e1590c69e928 100644 --- a/core/trunk/structure.sql +++ b/core/trunk/structure.sql @@ -3231,6 +3231,27 @@ CREATE TABLE invoice_types ( invoice_movement char(2) default 'DR'::character varying )WITH (OIDS=FALSE); +-- sendmail module +CREATE TABLE sendmail +( + email_id serial NOT NULL, + coll_id character varying(32) NOT NULL, + res_id bigint NOT NULL, + user_id character varying(128) NOT NULL, + to_list character varying(255) NOT NULL, + cc_list character varying(255) DEFAULT NULL, + cci_list character varying(255) DEFAULT NULL, + email_object character varying(255) DEFAULT NULL, + email_body text, + is_res_master_attached character varying(1) NOT NULL DEFAULT 'Y', + res_attachment_id_list character varying(255) DEFAULT NULL, + note_id_list character varying(255) DEFAULT NULL, + is_html character varying(1) NOT NULL DEFAULT 'Y', + email_status character varying(1) NOT NULL DEFAULT 'D', + creation_date timestamp without time zone NOT NULL, + send_date timestamp without time zone DEFAULT NULL, + CONSTRAINT sendmail_pkey PRIMARY KEY (email_id ) +); --VIEWS --view for demo