Database
Updated to just use DATABASE_* in everything other than local docker.
This commit is contained in:
19 files changed
+120
-56
No files matched your search
@@ -45,7 +45,7 @@ async function main() {
|
||||
const lastName = process.env.SUPER_ADMIN_LAST_NAME?.trim() ?? "";
|
||||
const name = [firstName, lastName].filter(Boolean).join(" ") || null;
|
||||
|
||||
const adapter = new PrismaMariaDb(buildMysqlPoolConfig(process.env.DATABASE_URL));
|
||||
const adapter = new PrismaMariaDb(buildMysqlPoolConfig());
|
||||
const prisma = new PrismaClient({ adapter });
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user