运行必须源码:app/(controller/model/service/middleware/lib/utils/validate/router)、config/、database/(migrations/seeders/sql)、启动脚本、app/public/templates 模板。 已忽略运行非必须:node_modules/、logs/、run/、app/public 运行时上传数据、.env*、构建/缓存产物。
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"development": {
|
|
"username": "root",
|
|
"password": "74191221",
|
|
"database": "competition_db",
|
|
"host": "localhost",
|
|
"port": 3306,
|
|
"dialect": "mysql",
|
|
"dialectOptions": {
|
|
"charset": "utf8mb4",
|
|
"collate": "utf8mb4_unicode_ci"
|
|
},
|
|
"define": {
|
|
"underscored": true,
|
|
"freezeTableName": true,
|
|
"timestamps": true,
|
|
"createdAt": "created_at",
|
|
"updatedAt": "updated_at",
|
|
"charset": "utf8mb4",
|
|
"collate": "utf8mb4_unicode_ci"
|
|
},
|
|
"timezone": "+08:00",
|
|
"seederStorage": "sequelize"
|
|
},
|
|
"test": {
|
|
"username": "root",
|
|
"password": "74191221",
|
|
"database": "competition_db_test",
|
|
"host": "localhost",
|
|
"port": 3306,
|
|
"dialect": "mysql",
|
|
"dialectOptions": {
|
|
"charset": "utf8mb4",
|
|
"collate": "utf8mb4_unicode_ci"
|
|
},
|
|
"define": {
|
|
"underscored": true,
|
|
"freezeTableName": true,
|
|
"timestamps": true,
|
|
"createdAt": "created_at",
|
|
"updatedAt": "updated_at",
|
|
"charset": "utf8mb4",
|
|
"collate": "utf8mb4_unicode_ci"
|
|
},
|
|
"timezone": "+08:00",
|
|
"seederStorage": "sequelize"
|
|
},
|
|
"production": {
|
|
"username": "root",
|
|
"password": null,
|
|
"database": "competition_db",
|
|
"host": "localhost",
|
|
"port": 3306,
|
|
"dialect": "mysql",
|
|
"dialectOptions": {
|
|
"charset": "utf8mb4",
|
|
"collate": "utf8mb4_unicode_ci"
|
|
},
|
|
"define": {
|
|
"underscored": true,
|
|
"freezeTableName": true,
|
|
"timestamps": true,
|
|
"createdAt": "created_at",
|
|
"updatedAt": "updated_at",
|
|
"charset": "utf8mb4",
|
|
"collate": "utf8mb4_unicode_ci"
|
|
},
|
|
"timezone": "+08:00",
|
|
"seederStorage": "sequelize"
|
|
}
|
|
}
|