mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:21:53 +00:00
fix(create-nocobase-app): support mariadb dialect (#3466)
This commit is contained in:
parent
bdaa2197a7
commit
7247c94763
@ -51,7 +51,7 @@ class AppGenerator extends Generator {
|
||||
|
||||
checkDialect() {
|
||||
const dialect = this.args.dbDialect;
|
||||
const supportDialects = ['mysql', 'sqlite', 'postgres'];
|
||||
const supportDialects = ['mysql', 'mariadb', 'sqlite', 'postgres'];
|
||||
if (!supportDialects.includes(dialect)) {
|
||||
console.log(
|
||||
`dialect ${chalk.red(dialect)} is not supported, currently supported dialects are ${chalk.green(
|
||||
|
Loading…
Reference in New Issue
Block a user