Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmpt-370-group-project-group26
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eyan Cunningham (esc568)
cmpt-370-group-project-group26
Commits
234791a7
Commit
234791a7
authored
3 years ago
by
Rafi Zereselasie (raz070)
Browse files
Options
Downloads
Patches
Plain Diff
Added a position field to the employee.
parent
85e87fb0
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
ScheduleApp.sql
+4
-4
4 additions, 4 deletions
ScheduleApp.sql
with
4 additions
and
4 deletions
ScheduleApp.sql
+
4
−
4
View file @
234791a7
...
...
@@ -8,10 +8,11 @@ create table Employees(
email
varchar
(
50
),
phoneNumber
varchar
(
10
),
wage
float
,
positions
varchar
(
50
),
primary
key
(
employee_ID
)
);
);
INSERT
INTO
Employees
(
first_name
,
last_name
,
isManager
,
email
,
phoneNumber
,
wage
)
VALUES
(
'Admin'
,
'Admin'
,
true
,
'none'
,
'0000000000'
,
0
.
0
);
#
INSERT
INTO
Employees
(
first_name
,
last_name
,
isManager
,
email
,
phoneNumber
,
wage
)
VALUES
(
'Admin'
,
'Admin'
,
true
,
'none'
,
'0000000000'
,
0
.
0
);
create
table
Shifts
(
shift_id
INT
NOT
NULL
auto_increment
UNIQUE
,
...
...
@@ -56,8 +57,7 @@ create table Availabilities(
foreign
key
(
employeeID
)
references
Employees
(
employee_ID
)
);
#
create
table
Positions
(
#
);
select
*
from
Employees
;
...
...
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