init project

This commit is contained in:
illuz committed 2022-07-05 14:40:21 +08:00
commit 571ba2a8a1
34 files changed
+3618

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
'use strict';
module.exports = appInfo => {
return {
knex: {
client: {
dialect: 'mysql',
connection: {
host: '127.0.0.1',
port: '3306',
user: 'root',
password: '123456',
database: 'xianfeng-v1'
},
pool: { min: 0, max: 30 },
acquireConnectionTimeout: 30000,
},
app: true,
},
};
};