Skip to content
Snippets Groups Projects
Commit 70cf2ad1 authored by Miniontoby's avatar Miniontoby
Browse files

Fixed myschoolday.sql

parent c58b23b9
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ INSERT INTO `roles` (`role_id`, `role_name`) VALUES ...@@ -78,7 +78,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;
...@@ -97,10 +97,10 @@ INSERT INTO `permissions` (`perm_id`, `perm_mod`, `perm_desc`) VALUES ...@@ -97,10 +97,10 @@ INSERT INTO `permissions` (`perm_id`, `perm_mod`, `perm_desc`) VALUES
(9, 'ROSTER', 'Create new roster'), (9, 'ROSTER', 'Create new roster'),
(10, 'ROSTER', 'Update roster'), (10, 'ROSTER', 'Update roster'),
(11, 'ROSTER', 'Delete roster'), (11, 'ROSTER', 'Delete roster'),
(12, 'HOMEWORK', 'Create new homework'), (12, 'HMWRK', 'Create new homework'),
(13, 'HOMEWORK', 'Update homework'), (13, 'HMEWRK', 'Update homework'),
(14, 'HOMEWORK', 'Delete homework'), (14, 'HMEWRK', 'Delete homework'),
(15, 'STUDENT', 'See homework'); (15, 'STDNT', 'See homework');
-- --
......
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