Switched to standard MonIn library

This commit is contained in:
Chase Tucker
2024-04-09 10:44:57 -07:00
parent 794b616293
commit 156dee0751
22 changed files with 539 additions and 345 deletions

View File

@ -0,0 +1,39 @@
drop table if exists Training;
create table Training (
TrainingID integer primary key,
ECN integer not null,
Status integer default 0,
CompletedDate text
);
insert into Training (ECN)
values (1), (2), (3), (4), (5), (6), (7), (8), (9);
drop table if exists TrainingAssignments;
create table TrainingAssignments (
ID integer primary key,
TrainingID integer not null,
Deleted integer default 0,
status integer default 0,
DeletedDate text
);
insert into TrainingAssignments (TrainingID)
values (1), (1), (2), (2), (3), (3), (4), (4), (5), (5), (6), (6),
(7), (7), (8), (8), (9), (9);
drop table if exists TrainingDocAcks;
create table TrainingDocAcks (
ID integer primary key,
TrainingAssignmentID integer not null,
Reviewed integer default 0,
Deleted integer default 0,
DeletedDate text
);
insert into TrainingDocAcks (TrainingAssignmentID)
values (1), (1), (2), (2), (3), (3), (4), (4), (5), (5), (6), (6),
(7), (7), (8), (8), (9), (9);