aggiunta firma circolari
This commit is contained in:
12
administrator/sql/updates/1.1.7.sql
Normal file
12
administrator/sql/updates/1.1.7.sql
Normal file
@ -0,0 +1,12 @@
|
||||
-- tabella ponte: quali gruppi possono firmare quale circolare
|
||||
CREATE TABLE IF NOT EXISTS `#__circolari_usergroups` (
|
||||
`circolare_id` INT NOT NULL,
|
||||
`usergroup_id` INT NOT NULL,
|
||||
`required` TINYINT(1) NOT NULL DEFAULT 0, -- opzionale: firma obbligatoria del gruppo
|
||||
`can_firmare` TINYINT(1) NOT NULL DEFAULT 1, -- opzionale: futura granularità
|
||||
PRIMARY KEY (`circolare_id`, `usergroup_id`),
|
||||
KEY `idx_group` (`usergroup_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
|
||||
ALTER TABLE `#__circolari` DROP COLUMN `usergroup_id`;
|
||||
Reference in New Issue
Block a user