diff --git a/composer.json b/composer.json index c7f928398cf8675eb93700b21ae1efbf7bacaf18..6d50f84ac0e569e42684b5a6ab0d02b623785a9b 100755 --- a/composer.json +++ b/composer.json @@ -25,6 +25,7 @@ "Core\\" : "core/", "Convert\\" : "modules/convert/", + "Sendmail\\" : "modules/sendmail/", "Visa\\" : "modules/visa/" } }, diff --git a/rest/index.php b/rest/index.php index c7ef7e21f5711e2b2682225d9c3852b2987c2eed..05dd919e26d89c405428d6f096b6270f553c4a1d 100755 --- a/rest/index.php +++ b/rest/index.php @@ -298,7 +298,7 @@ $app->get('/listinstance/{id}', \Entity\controllers\ListInstanceController::clas //Contacts $app->post('/contacts', \Contact\controllers\ContactController::class . ':create'); -$app->get('/contact/checkCommunication', \Core\Controllers\ContactController::class . ':getCheckCommunication'); +$app->get('/contact/checkCommunication', \Contact\controllers\ContactController::class . ':getCheckCommunication'); //Templates $app->post('/templates/{id}/duplicate', \Template\controllers\TemplateController::class . ':duplicate'); diff --git a/sql/structure.sql b/sql/structure.sql index c4ab512a0b24c842fc8b60e4d73f3685f92ee653..5a48169b30e33d65b338d0c3f86c3bea040650f1 100755 --- a/sql/structure.sql +++ b/sql/structure.sql @@ -2616,46 +2616,46 @@ $$ LANGUAGE SQL; CREATE TABLE message_exchange ( - "message_id" text NOT NULL, - "schema" text, - "type" text NOT NULL, - "status" text NOT NULL, + message_id text NOT NULL, + schema text, + type text NOT NULL, + status text NOT NULL, - "date" timestamp NOT NULL, - "reference" text NOT NULL, + date timestamp NOT NULL, + reference text NOT NULL, - "account_id" text, - "sender_org_identifier" text NOT NULL, - "sender_org_name" text, - "recipient_org_identifier" text NOT NULL, - "recipient_org_name" text, - - "archival_agreement_reference" text, - "reply_code" text, - "operation_date" timestamp, - "reception_date" timestamp, + account_id text, + sender_org_identifier text NOT NULL, + sender_org_name text, + recipient_org_identifier text NOT NULL, + recipient_org_name text, + + archival_agreement_reference text, + reply_code text, + operation_date timestamp, + reception_date timestamp, - "related_reference" text, - "request_reference" text, - "reply_reference" text, - "derogation" boolean, + related_reference text, + request_reference text, + reply_reference text, + derogation boolean, - "data_object_count" integer, - "size" numeric, + data_object_count integer, + size numeric, - "data" text, + data text, - "active" boolean, - "archived" boolean, + active boolean, + archived boolean, - "res_id_master" numeric default NULL, + res_id_master numeric default NULL, - "docserver_id" character varying(32) NOT NULL, - "path" character varying(255) DEFAULT NULL, - "filename" character varying(255) DEFAULT NULL, - "fingerprint" character varying(255) DEFAULT NULL, - "filesize" bigint, - "file_path" text default NULL, + docserver_id character varying(32) NOT NULL, + path character varying(255) DEFAULT NULL, + filename character varying(255) DEFAULT NULL, + fingerprint character varying(255) DEFAULT NULL, + filesize bigint, + file_path text default NULL, PRIMARY KEY ("message_id") ) @@ -2665,10 +2665,10 @@ WITH ( CREATE TABLE unit_identifier ( - "message_id" text NOT NULL, - "tablename" text NOT NULL, - "res_id" text NOT NULL, - "disposition" text default NULL + message_id text NOT NULL, + tablename text NOT NULL, + res_id text NOT NULL, + disposition text default NULL ); DROP TABLE IF EXISTS users_baskets;