This commit is contained in:
@ -1,26 +1,10 @@
|
||||
import config from "config"
|
||||
import { DataSource } from "typeorm"
|
||||
import {
|
||||
Aldeia,
|
||||
Suco,
|
||||
Munisipo,
|
||||
Administrativu,
|
||||
Nationality,
|
||||
Application,
|
||||
Menu,
|
||||
User,
|
||||
UserActivity,
|
||||
UserRefreshToken,
|
||||
UserRole,
|
||||
HrmsPosition,
|
||||
HrmsEmployee,
|
||||
HrmsDepartment,
|
||||
HrmsShift,
|
||||
HospitalInformation,
|
||||
Province,
|
||||
City,
|
||||
Subdistrict,
|
||||
Ward,
|
||||
} from "entity"
|
||||
import { ILogObj, Logger } from "tslog"
|
||||
|
||||
@ -42,27 +26,10 @@ export class OrmHelper {
|
||||
synchronize: true,
|
||||
logging: config.get("database.logging"),
|
||||
entities: [
|
||||
Aldeia,
|
||||
Suco,
|
||||
Munisipo,
|
||||
Administrativu,
|
||||
Nationality,
|
||||
User, //
|
||||
UserRole,
|
||||
UserActivity,
|
||||
UserRefreshToken,
|
||||
Menu,
|
||||
Application,
|
||||
Nationality,
|
||||
HrmsDepartment,
|
||||
HrmsPosition,
|
||||
HrmsShift,
|
||||
HrmsEmployee,
|
||||
HospitalInformation,
|
||||
Province,
|
||||
City,
|
||||
Subdistrict,
|
||||
Ward,
|
||||
],
|
||||
subscribers: [],
|
||||
migrations: [],
|
||||
|
||||
Reference in New Issue
Block a user