mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
5b0b208515
@ -32,7 +32,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pm2": "^6.0.5",
|
"pm2": "^6.0.5",
|
||||||
"mysql2": "^3.14.0",
|
"mysql2": "^3.14.0",
|
||||||
"mariadb": "^3.4.1",
|
"mariadb": "^2.5.6",
|
||||||
"pg": "^8.14.1",
|
"pg": "^8.14.1",
|
||||||
"pg-hstore": "^2.3.4"
|
"pg-hstore": "^2.3.4"
|
||||||
}
|
}
|
||||||
|
@ -50,11 +50,6 @@ class AppGenerator extends Generator {
|
|||||||
const dependencies = [];
|
const dependencies = [];
|
||||||
const { dbDialect } = this.args;
|
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) {
|
switch (dbDialect) {
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
envs.push(`DB_HOST=${env.DB_HOST || 'localhost'}`);
|
envs.push(`DB_HOST=${env.DB_HOST || 'localhost'}`);
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pm2": "^6.0.5",
|
"pm2": "^6.0.5",
|
||||||
"mysql2": "^3.14.0",
|
"mysql2": "^3.14.0",
|
||||||
"mariadb": "^3.4.1",
|
"mariadb": "^2.5.6",
|
||||||
"pg": "^8.14.1",
|
"pg": "^8.14.1",
|
||||||
"pg-hstore": "^2.3.4"
|
"pg-hstore": "^2.3.4"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user