From 7247c9476370a24a5a5e00d03c232ae8336dfb2a Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 30 Jan 2024 17:10:16 +0800 Subject: [PATCH] fix(create-nocobase-app): support mariadb dialect (#3466) --- packages/core/create-nocobase-app/src/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/create-nocobase-app/src/generator.js b/packages/core/create-nocobase-app/src/generator.js index e8661af296..c132a174a5 100644 --- a/packages/core/create-nocobase-app/src/generator.js +++ b/packages/core/create-nocobase-app/src/generator.js @@ -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(