chore: downgrade mariadb to 2.5.6 due to compatibility issues (#6762)

This commit is contained in:
chenos 2025-04-24 20:29:13 +08:00 committed by GitHub
parent e2e4c69941
commit b0cee75bf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 7 deletions

View File

@ -32,7 +32,7 @@
"dependencies": {
"pm2": "^6.0.5",
"mysql2": "^3.14.0",
"mariadb": "^3.4.1",
"mariadb": "^2.5.6",
"pg": "^8.14.1",
"pg-hstore": "^2.3.4"
}

View File

@ -50,11 +50,6 @@ class AppGenerator extends Generator {
const dependencies = [];
const { dbDialect } = this.args;
dependencies.push(`"mysql2": "^3.14.0"`);
dependencies.push(`"mariadb": "^3.4.1"`);
dependencies.push(`"pg": "^8.14.1"`);
dependencies.push(`"pg-hstore": "^2.3.4"`);
switch (dbDialect) {
case 'mysql':
envs.push(`DB_HOST=${env.DB_HOST || 'localhost'}`);

View File

@ -35,7 +35,7 @@
"dependencies": {
"pm2": "^6.0.5",
"mysql2": "^3.14.0",
"mariadb": "^3.4.1",
"mariadb": "^2.5.6",
"pg": "^8.14.1",
"pg-hstore": "^2.3.4"
}