2023-05-26 15:43:14 -05:00
|
|
|
import { DataSource } from 'typeorm'
|
|
|
|
|
|
|
|
|
|
export const AppDataSource = new DataSource({
|
2023-06-27 17:06:58 +02:00
|
|
|
type: 'sqlite',
|
|
|
|
|
database: './db/autobaan_db',
|
|
|
|
|
logging: true,
|
|
|
|
|
entities: ['./src/**/*.entity.ts'],
|
|
|
|
|
migrations: ['./database/migrations/*.ts'],
|
|
|
|
|
subscribers: [],
|
2023-05-26 15:43:14 -05:00
|
|
|
})
|