mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Muluhabt ERP modules
This commit is contained in:
8
apps/edr-hr-api/src/data-source.ts
Normal file
8
apps/edr-hr-api/src/data-source.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import "dotenv/config";
|
||||
import { DataSource } from "typeorm";
|
||||
import { buildHrMigrationDataSourceOptions } from "./config/database.config";
|
||||
|
||||
/** Standalone DataSource for the TypeORM CLI and the migrate script. */
|
||||
export const AppDataSource = new DataSource(buildHrMigrationDataSourceOptions());
|
||||
|
||||
export default AppDataSource;
|
||||
Reference in New Issue
Block a user