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;