This commit is contained in:
2025-05-19 09:48:45 +08:00
parent 4300e851df
commit d264b515a1
3 changed files with 16 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
import { TypeOrmModuleOptions } from '@nestjs/typeorm';
export const database = (): TypeOrmModuleOptions => ({
charset: 'utf8mb4',
logging: ['error'],
type: 'mysql',
host: '192.168.50.26',
port: 3306,
username: '3r',
password: '12345678',
database: '3r',
});
+1
View File
@@ -0,0 +1 @@
export * from './database.config';