AppModule: Add reminder to remove synchronize

This auto creates schema on startup and is not intended for production use
See https://typeorm.io/#/connection-options/common-connection-options

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-02-27 22:58:34 +01:00
parent 9bd2940190
commit 1042954e98

View file

@ -43,7 +43,7 @@ const routes: Routes = [
type: 'sqlite',
database: './hedgedoc.sqlite',
autoLoadEntities: true,
synchronize: true,
synchronize: true, // ToDo: Remove this before release
}),
ConfigModule.forRoot({
load: [