feat: add database and orm

This commit is contained in:
2026-10-21 10:14:50 +03:00
parent d8fb486709
commit ef2bc6f8b6
30 changed files with 668 additions and 354 deletions
+5
View File
@@ -0,0 +1,5 @@
import { execSync } from 'child_process';
export default function globalSetup(): void {
execSync('npx prisma migrate deploy', { stdio: 'inherit' });
}
+1
View File
@@ -3,6 +3,7 @@
"rootDir": ".",
"testEnvironment": "node",
"testRegex": ".e2e-spec.ts$",
"globalSetup": "<rootDir>/global-setup.ts",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
}