1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-03 17:27:29 +01:00

Fix per errore creazione tabella an_sedi_tecnici v. 2.4.52

This commit is contained in:
Luca 2024-02-20 18:08:05 +01:00
parent 3fffd5f1d9
commit 263e9b100f
2 changed files with 7 additions and 5 deletions

View File

@ -65,10 +65,8 @@ CREATE TABLE `an_sedi_tecnici` (
`idsede` INT NOT NULL ,
`idtecnico` INT NOT NULL ,
`data_inizio` DATE NULL DEFAULT NULL,
`data_fine` DATE NULL DEFAULT NULL,
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
`updated_at` TIMESTAMP on UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
PRIMARY KEY (`id`)) ENGINE = InnoDB;
`data_fine` DATE NULL DEFAULT NULL
PRIMARY KEY (`id`));
-- Aggiunta indici
ALTER TABLE `an_sedi_tecnici`

View File

@ -578,4 +578,8 @@ WHERE
HAVING
2=2
ORDER BY
`id`, `nome` ASC" WHERE `name` = 'Utenti e permessi';
`id`, `nome` ASC" WHERE `name` = 'Utenti e permessi';
-- Fix per errore creazione tabella an_sedi_tecnici v. 2.4.52
ALTER TABLE `an_sedi_tecnici` CHANGE `updated_at` `updated_at` TIMESTAMP NULL on update CURRENT_TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP;
ALTER TABLE `an_sedi_tecnici` CHANGE `created_at` `created_at` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP;