fix(backend): persistOnCreate uitgeschakeld.

This commit is contained in:
Gerald Schmittinger 2025-03-30 14:30:47 +02:00
parent e8add72de4
commit b2e43b8b50

View file

@ -65,6 +65,8 @@ function config(testingMode: boolean = false): Options {
user: getEnvVar(EnvVars.DbUsername),
password: getEnvVar(EnvVars.DbPassword),
entities: entities,
persistOnCreate: false, // Entities should not be implicitly persisted when calling create(...), but only after
// they were saved explicitly.
// EntitiesTs: entitiesTs,
// Logging