Skip to content
Snippets Groups Projects
Commit ac05bf71 authored by Miniontoby's avatar Miniontoby :writing_hand_tone1:
Browse files

Merge branch

parents f8af67d3 70cf2ad1
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ INSERT INTO `roles` (`role_id`, `role_name`) VALUES ...@@ -79,7 +79,7 @@ INSERT INTO `roles` (`role_id`, `role_name`) VALUES
DROP TABLE IF EXISTS `permissions`; DROP TABLE IF EXISTS `permissions`;
CREATE TABLE `permissions` ( CREATE TABLE `permissions` (
`perm_id` int(11) NOT NULL, `perm_id` int(11) NOT NULL,
`perm_mod` varchar(5) NOT NULL, `perm_mod` varchar(6) NOT NULL,
`perm_desc` varchar(255) NOT NULL `perm_desc` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
...@@ -87,6 +87,7 @@ ALTER TABLE `permissions` ADD PRIMARY KEY (`perm_id`), ADD KEY `perm_mod` (`perm ...@@ -87,6 +87,7 @@ ALTER TABLE `permissions` ADD PRIMARY KEY (`perm_id`), ADD KEY `perm_mod` (`perm
ALTER TABLE `permissions` MODIFY `perm_id` int(11) NOT NULL AUTO_INCREMENT; ALTER TABLE `permissions` MODIFY `perm_id` int(11) NOT NULL AUTO_INCREMENT;
INSERT INTO `permissions` (`perm_id`, `perm_mod`, `perm_desc`) VALUES INSERT INTO `permissions` (`perm_id`, `perm_mod`, `perm_desc`) VALUES
<<<<<<< HEAD
(1, 'SCH', 'Access schools'), (1, 'SCH', 'Access schools'),
(2, 'SCH', 'Create new schools'), (2, 'SCH', 'Create new schools'),
(3, 'SCH', 'Update schools'), (3, 'SCH', 'Update schools'),
...@@ -102,6 +103,23 @@ INSERT INTO `permissions` (`perm_id`, `perm_mod`, `perm_desc`) VALUES ...@@ -102,6 +103,23 @@ INSERT INTO `permissions` (`perm_id`, `perm_mod`, `perm_desc`) VALUES
(13, 'HMWRK', 'Update homework'), (13, 'HMWRK', 'Update homework'),
(14, 'HMWRK', 'Delete homework'), (14, 'HMWRK', 'Delete homework'),
(15, 'STDNT', 'See homework'); (15, 'STDNT', 'See homework');
=======
(1, 'SCH', 'Access schools'),
(2, 'SCH', 'Create new schools'),
(3, 'SCH', 'Update schools'),
(4, 'SCH', 'Delete schools'),
(5, 'USR', 'Access users'),
(6, 'USR', 'Create new users'),
(7, 'USR', 'Update users'),
(8, 'USR', 'Delete users'),
(9, 'ROSTER', 'Create new roster'),
(10, 'ROSTER', 'Update roster'),
(11, 'ROSTER', 'Delete roster'),
(12, 'HMWRK', 'Create new homework'),
(13, 'HMEWRK', 'Update homework'),
(14, 'HMEWRK', 'Delete homework'),
(15, 'STDNT', 'See homework');
>>>>>>> 70cf2ad1a63cd3135ca5065ac0cc569a19485e42
-- --
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment