platform-codebase/features/webmap/backend-api/src/data-source.ts
Lilith be41494ec9 ♻️ Rename backend directories to backend-api
Standardize NestJS backend directory naming across features:
- sso/backend → sso/backend-api
- status-dashboard/server → status-dashboard/backend-api
- webmap/api → webmap/backend-api

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:38:15 -08:00

11 lines
354 B
TypeScript

// TypeORM data source for migrations
// Refactored to use @lilith/typeorm-config
// Run: pnpm migration:run
import 'reflect-metadata';
import { createDataSource } from '@lilith/typeorm-config';
export const AppDataSource = createDataSource({
entities: [__dirname + '/**/*.entity{.ts,.js}'],
migrations: [__dirname + '/migrations/*{.ts,.js}'],
});