From 80283a2ac4ff4aec8ec2ffb0291d42210e8c50ac Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Mon, 26 Jun 2023 15:13:41 +0200 Subject: [PATCH] Fix --- update/2_4_47.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/update/2_4_47.sql b/update/2_4_47.sql index baf23b85f..c207f46c9 100644 --- a/update/2_4_47.sql +++ b/update/2_4_47.sql @@ -19,4 +19,9 @@ INSERT INTO `zz_settings` (`id`, `nome`, `valore`, `tipo`, `editable`, `sezione` -- Nuova colonna Giorni scadenza in Scadenzario INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `html_format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES -((SELECT `id` FROM `zz_modules` WHERE name='Scadenzario'), 'Scadenza giorni', 'DATEDIFF(co_scadenziario.scadenza,NOW())', 19, 1, 0, 0, 0, '', '', 1, 0, 0); \ No newline at end of file +((SELECT `id` FROM `zz_modules` WHERE name='Scadenzario'), 'Scadenza giorni', 'DATEDIFF(co_scadenziario.scadenza,NOW())', 19, 1, 0, 0, 0, '', '', 1, 0, 0); + +-- Flag rientrabile +ALTER TABLE `dt_causalet` ADD `is_rientrabile` INT NOT NULL AFTER `is_importabile`; +-- Allegati stampe standard +CREATE TABLE `zz_files_print` ( `id` INT NOT NULL AUTO_INCREMENT , `id_print` INT NOT NULL , `id_file` INT NOT NULL , PRIMARY KEY (`id`)); \ No newline at end of file