mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-14 04:33:41 +08:00
NineAI 2.4.2
This commit is contained in:
16
dist/config/database.js
vendored
Normal file
16
dist/config/database.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const config = {
|
||||
type: 'mysql',
|
||||
port: parseInt(process.env.DB_PORT),
|
||||
host: process.env.DB_HOST,
|
||||
username: process.env.DB_USER,
|
||||
password: process.env.DB_PASS,
|
||||
database: process.env.DB_DATABASE,
|
||||
entities: [__dirname + '/../**/*.entity{.ts,.js}'],
|
||||
logging: false,
|
||||
synchronize: true,
|
||||
charset: 'utf8mb4',
|
||||
timezone: '+08:00',
|
||||
};
|
||||
exports.default = config;
|
||||
Reference in New Issue
Block a user