gestione categorie interne & fix

This commit is contained in:
2025-09-01 12:56:30 +02:00
parent 16ac92a59e
commit f9b01eb01e
40 changed files with 2252 additions and 424 deletions

View File

@ -0,0 +1,7 @@
-- Rimuove catid (categoria Joomla), aggiunge usergroup_id e hits
ALTER TABLE `#__circolari`
DROP COLUMN IF EXISTS `catid`,
ADD COLUMN IF NOT EXISTS `usergroup_id` INT(11) UNSIGNED NOT NULL DEFAULT 0 ,
ADD COLUMN IF NOT EXISTS `hits` INT(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `usergroup_id`,
ADD INDEX `idx_usergroup_id` (`usergroup_id`),
ADD INDEX `idx_hits` (`hits`);