Merge branch 'dev' into chore/logging
This commit is contained in:
commit
11e3dc6a3f
48 changed files with 2252 additions and 1541 deletions
|
@ -26,11 +26,20 @@ import { Answer } from './entities/questions/answer.entity.js';
|
|||
import { Question } from './entities/questions/question.entity.js';
|
||||
|
||||
const entities = [
|
||||
User, Student, Teacher,
|
||||
Assignment, Group, Submission,
|
||||
Class, ClassJoinRequest, TeacherInvitation,
|
||||
Attachment, LearningObject, LearningPath,
|
||||
Answer, Question
|
||||
User,
|
||||
Student,
|
||||
Teacher,
|
||||
Assignment,
|
||||
Group,
|
||||
Submission,
|
||||
Class,
|
||||
ClassJoinRequest,
|
||||
TeacherInvitation,
|
||||
Attachment,
|
||||
LearningObject,
|
||||
LearningPath,
|
||||
Answer,
|
||||
Question,
|
||||
];
|
||||
|
||||
function config(testingMode: boolean = false): Options {
|
||||
|
@ -57,7 +66,7 @@ function config(testingMode: boolean = false): Options {
|
|||
user: getEnvVar(EnvVars.DbUsername),
|
||||
password: getEnvVar(EnvVars.DbPassword),
|
||||
entities: entities,
|
||||
//entitiesTs: entitiesTs,
|
||||
// entitiesTs: entitiesTs,
|
||||
|
||||
// Logging
|
||||
debug: LOG_LEVEL === 'debug',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue