1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-06-15 00:05:28 +02:00

Implementing AlbumBase and SavedSearch Entities and Manager #45

This commit is contained in:
Patrik J. Braun
2021-05-28 19:21:18 +02:00
parent e63a7cae98
commit 512f5c18d6
11 changed files with 321 additions and 4 deletions

View File

@ -19,6 +19,8 @@ import {PersonEntry} from './enitites/PersonEntry';
import {Utils} from '../../../../common/Utils';
import * as path from 'path';
import {DatabaseType, ServerDataBaseConfig, SQLLogLevel} from '../../../../common/config/private/PrivateConfig';
import {AlbumBaseEntity} from './enitites/album/AlbumBaseEntity';
import {SavedSearchEntity} from './enitites/album/SavedSearchEntity';
export class SQLConnection {
@ -43,6 +45,8 @@ export class SQLConnection {
VideoEntity,
DirectoryEntity,
SharingEntity,
AlbumBaseEntity,
SavedSearchEntity,
VersionEntity
];
options.synchronize = false;
@ -73,6 +77,8 @@ export class SQLConnection {
VideoEntity,
DirectoryEntity,
SharingEntity,
AlbumBaseEntity,
SavedSearchEntity,
VersionEntity
];
options.synchronize = false;