Skip to content
Snippets Groups Projects
Commit 82d7ff92 authored by Rafi's avatar Rafi
Browse files

Changed the default end time 2330.

parent 103ea212
No related branches found
No related tags found
No related merge requests found
...@@ -43,19 +43,19 @@ create table Availabilities( ...@@ -43,19 +43,19 @@ create table Availabilities(
ID int not null auto_increment unique, ID int not null auto_increment unique,
employeeID int unique, employeeID int unique,
sundayStart int default 0, sundayStart int default 0,
sundayEnd int default 2359, sundayEnd int default 2330,
mondayStart int default 0, mondayStart int default 0,
mondayEnd int default 2359, mondayEnd int default 2330,
tuesdayStart int default 0, tuesdayStart int default 0,
tuesdayEnd int default 2359, tuesdayEnd int default 2330,
wednesdayStart int default 0, wednesdayStart int default 0,
wednesdayEnd int default 2359, wednesdayEnd int default 2330,
thursdayStart int default 0, thursdayStart int default 0,
thursdayEnd int default 2359, thursdayEnd int default 2330,
fridayStart int default 0, fridayStart int default 0,
fridayEnd int default 2359, fridayEnd int default 2330,
saturdayStart int default 0, saturdayStart int default 0,
saturdayEnd int default 2359, saturdayEnd int default 2330,
foreign key (employeeID) references Employees(employee_ID) foreign key (employeeID) references Employees(employee_ID)
); );
...@@ -70,7 +70,7 @@ insert into Positions (position, wage) values ("dishwasher", 12.50); ...@@ -70,7 +70,7 @@ insert into Positions (position, wage) values ("dishwasher", 12.50);
delete from Positions where position='dishwasher'; delete from Positions where position='dishwasher';
select * from Positions; select * from Availabilities;
select * from Employees; select * from Employees;
......
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