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