chore: add pg driver

This commit is contained in:
Zotov Ivan Yuryevich
2026-05-01 19:01:58 +03:00
parent 92049925d4
commit eee0713817
3 changed files with 149 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ import path from 'path';
import type { Core } from '@strapi/strapi';
const config = ({ env }: Core.Config.Shared.ConfigParams): Core.Config.Database => {
const client = env('DATABASE_CLIENT', 'sqlite');
const client = env('DATABASE_CLIENT', 'postgres');
const connections = {
mysql: {