Initial commit: ERP system with advance verification fixes
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { TypeOrmModuleOptions } from '@nestjs/typeorm';
|
||||
import * as dotenv from 'dotenv';
|
||||
import * as path from 'path';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
export const databaseConfig: TypeOrmModuleOptions = {
|
||||
type: 'sqlite',
|
||||
database: path.join(__dirname, '..', '..', 'database.sqlite'),
|
||||
entities: [__dirname + '/../**/*.entity{.ts,.js}'],
|
||||
synchronize: true,
|
||||
logging: true,
|
||||
};
|
||||
Reference in New Issue
Block a user