Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MySchoolday
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheDutchProgrammers
MySchoolday
Commits
ac05bf71
Commit
ac05bf71
authored
3 years ago
by
Miniontoby
Browse files
Options
Downloads
Plain Diff
Merge branch
parents
f8af67d3
70cf2ad1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
myschoolday.sql
+19
-1
19 additions, 1 deletion
myschoolday.sql
with
19 additions
and
1 deletion
myschoolday.sql
+
19
−
1
View file @
ac05bf71
...
@@ -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'
);
>>>>>>>
70
cf2ad1a63cd3135ca5065ac0cc569a19485e42
--
--
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment