Skip to content

Commit e61e4ef

Browse files
feat: spostamento query file update
1 parent 61bcd8b commit e61e4ef

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

update/2_10.sql

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -502,12 +502,4 @@ CREATE TABLE IF NOT EXISTS `an_automezzi_danni` (
502502
`luogo` VARCHAR(255) NOT NULL,
503503
PRIMARY KEY (`id`),
504504
INDEX(`idsede`)
505-
);
506-
507-
-- Aggiunta colonne minimo e massimo alla tabella mg_listini_articoli per gestire i prezzi per range
508-
ALTER TABLE `mg_listini_articoli` ADD `minimo` decimal(15,6) DEFAULT NULL;
509-
ALTER TABLE `mg_listini_articoli` ADD `massimo` decimal(15,6) DEFAULT NULL;
510-
511-
-- Aggiunta provider OAuth2 Keycloak
512-
INSERT INTO `zz_oauth2` (`name`, `class`, `client_id`, `client_secret`, `config`, `state`, `access_token`, `refresh_token`, `after_configuration`, `is_login`, `enabled`) VALUES
513-
('Keycloak', 'Modules\\Emails\\OAuth2\\KeycloakLogin', '', '', '{\"auth_server_url\":\"\",\"realm\":\"\"}', '', NULL, NULL, '', 1, 0);
505+
);

update/2_11.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ INSERT INTO `zz_settings` (`nome`, `valore`, `tipo`, `editable`, `sezione`) VALU
55
INSERT INTO `zz_settings_lang` (`id_lang`, `id_record`, `title`, `help`) VALUES
66
(1, (SELECT MAX(`id`) FROM `zz_settings`), 'Abilita controllo sessione singola', 'Se abilitato, impedisce il login multiplo dello stesso utente da dispositivi diversi.'),
77
(2, (SELECT MAX(`id`) FROM `zz_settings`), 'Enable single session control', 'If enabled, prevents multiple logins of the same user from different devices.');
8+
9+
-- Aggiunta colonne minimo e massimo alla tabella mg_listini_articoli per gestire i prezzi per range
10+
ALTER TABLE `mg_listini_articoli` ADD `minimo` decimal(15,6) DEFAULT NULL;
11+
ALTER TABLE `mg_listini_articoli` ADD `massimo` decimal(15,6) DEFAULT NULL;
12+
13+
-- Aggiunta provider OAuth2 Keycloak
14+
INSERT INTO `zz_oauth2` (`name`, `class`, `client_id`, `client_secret`, `config`, `state`, `access_token`, `refresh_token`, `after_configuration`, `is_login`, `enabled`) VALUES
15+
('Keycloak', 'Modules\\Emails\\OAuth2\\KeycloakLogin', '', '', '{\"auth_server_url\":\"\",\"realm\":\"\"}', '', NULL, NULL, '', 1, 0);

0 commit comments

Comments
 (0)