From e86d75b4d9c2c5559ccf7e0a796c07ebb23f02ec Mon Sep 17 00:00:00 2001 From: msquare Date: Sat, 24 Dec 2016 17:00:03 +0100 Subject: begin #298 add privilege and add users to shifts by angeltype supporter --- db/update.sql | 3 +++ 1 file changed, 3 insertions(+) (limited to 'db') diff --git a/db/update.sql b/db/update.sql index f5955f32..9a665566 100644 --- a/db/update.sql +++ b/db/update.sql @@ -16,3 +16,6 @@ ALTER TABLE `AngelTypes` ADD INDEX (`contact_user_id`); ALTER TABLE `AngelTypes` ADD FOREIGN KEY (`contact_user_id`) REFERENCES `User`(`UID`) ON DELETE SET NULL ON UPDATE CASCADE; + + +INSERT INTO `Privileges` (`id`, `name`, `desc`) VALUES (NULL, 'shiftentry_edit_angeltype_supporter', 'If user with this privilege is angeltype supporter, he can put users in shifts for their angeltype'); -- cgit v1.2.3-54-g00ecf