[*] группы переделаны в роли и заведена константа, включающее и выключающая кшивроание
This commit is contained in:
1 parent
723ace2ae4
commit
60eb06d2e3
7 files changed
+82
-82
No files matched your search
@@ -31,14 +31,14 @@ SET time_zone = "+00:00";
|
||||
CREATE TABLE `user_roles` (
|
||||
`id` int(11) NOT NULL,
|
||||
`user_id` int(11) NOT NULL,
|
||||
`group_id` int(11) NOT NULL
|
||||
`role_id` int(11) NOT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Дамп данных таблицы `user_groups`
|
||||
--
|
||||
|
||||
INSERT INTO `user_roles` (`id`, `user_id`, `group_id`) VALUES
|
||||
INSERT INTO `user_roles` (`id`, `user_id`, `role_id`) VALUES
|
||||
(1, 1, 1),
|
||||
|
||||
--
|
||||
|
||||
Reference in new issue
Block a user