server/core/initializers/database.ts
Function initDatabaseModels
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function initDatabaseModels (silent: boolean) {
sequelizeTypescript.addModels([
ApplicationModel,
ActorModel,
ActorFollowModel,