chore(freight-api): upgrade api-common and iamapi-common packages

This commit is contained in:
Nathnael
2026-08-01 10:50:40 +00:00
parent 36f8fe2a7e
commit dfdb79301d
8 changed files with 108 additions and 32 deletions

View File

@@ -1,11 +1,8 @@
// apps/edr-freight-api/src/data-source.ts
import "dotenv/config";
import { DataSource, DataSourceOptions } from "typeorm";
import { DataSource } from "typeorm";
import { buildDataSourceOptions } from "./config/database.config";
export const AppDataSource = new DataSource({
...buildDataSourceOptions(),
schema: "freight",
} as DataSourceOptions);
export const AppDataSource = new DataSource(buildDataSourceOptions());
export default AppDataSource;