migration
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-04 15:33:18 +03:30
parent 59abfe6aac
commit cbccb8bc68
5 changed files with 3837 additions and 91 deletions
+2
View File
@@ -1,4 +1,5 @@
import { Options } from "@mikro-orm/core";
import { Migrator } from "@mikro-orm/migrations";
import { PostgreSqlDriver } from "@mikro-orm/postgresql";
import dotenv from "dotenv";
@@ -6,6 +7,7 @@ dotenv.config();
const config: Options = {
driver: PostgreSqlDriver,
extensions: [Migrator],
dbName: process.env.DB_NAME,
host: process.env.DB_HOST,
port: Number(process.env.DB_PORT),