feat: Security
This commit is contained in:
@@ -21,7 +21,8 @@ import {
|
||||
PluginDataEntity,
|
||||
ServerPluginSettingsEntity,
|
||||
PluginUserMetadataEntity,
|
||||
DeviceTokenEntity
|
||||
DeviceTokenEntity,
|
||||
SessionTokenEntity
|
||||
} from '../entities';
|
||||
import { serverMigrations } from '../migrations';
|
||||
import {
|
||||
@@ -272,7 +273,8 @@ export async function initDatabase(): Promise<void> {
|
||||
PluginDataEntity,
|
||||
ServerPluginSettingsEntity,
|
||||
PluginUserMetadataEntity,
|
||||
DeviceTokenEntity
|
||||
DeviceTokenEntity,
|
||||
SessionTokenEntity
|
||||
],
|
||||
migrations: serverMigrations,
|
||||
synchronize: process.env.DB_SYNCHRONIZE === 'true',
|
||||
|
||||
Reference in New Issue
Block a user