addons-server/migrations/342-perms-sysadmins.sql

7 строки
383 B
MySQL
Исходник Обычный вид История

2012-03-19 20:10:45 +04:00
INSERT INTO groups (id, name, rules, notes, created, modified) VALUES
(50051, 'System Administrators', 'None:None',
'Preserved through permissions migration for future use.', NOW(), NOW());
INSERT INTO groups_users (
SELECT NULL, 50051, groups_users.user_id FROM groups, groups_users
WHERE groups.id=groups_users.group_id AND groups.name='sysadmins' AND groups.id < 50000);