Commit 1aa94c40 authored by nanahira's avatar nanahira

fix

parent 11212c9f
Pipeline #3085 passed with stages
in 1 minute and 8 seconds
import { TypeOrmModuleOptions } from '@nestjs/typeorm';
import { User } from './entities/User';
export function dbConfig() {
return {
......@@ -13,7 +14,7 @@ export function typeormConfig(): TypeOrmModuleOptions {
return {
name: 'app',
type: 'mysql',
entities: [], // entities here
entities: [User], // entities here
synchronize: true,
...dbConfig(),
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment