mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-04 21:19:27 +08:00
chore: downgrade mariadb to 2.5.6 due to compatibility issues (#6762)
This commit is contained in:
parent
e2e4c69941
commit
b0cee75bf1
@ -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"
|
||||
}
|
||||
|
@ -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'}`);
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user