This commit is contained in:
robin
2022-07-07 22:16:39 +08:00
parent 264ab8d979
commit a9a4bd0981
86 changed files with 1198 additions and 310 deletions
+16 -4
View File
@@ -1,11 +1,11 @@
module.exports = {
database: "bamboo",
username: "bamboo",
password: "bamboo",
username: "root",
password: "123456",
options: {
dialect: 'mysql',
host: "192.168.1.26",
port: 3306,
host: "127.0.0.1",
port: 3357,
// 禁用日志记录或提供自定义日志记录功能;默认值:console.log
// logging: false,
// model的全局配置
@@ -44,4 +44,16 @@ module.exports = {
},
},
path:"app/*/model/*.js",
sqlite:{
host: 'localhost',
dialect: 'sqlite',
pool: {
max: 5,
min: 0,
acquire: 30000,
idle: 10000
},
storage: './database.sqlite',
operatorsAliases: false
}
}