Ultima attività 1729144353

Revisione b86f8681d20ef40036c19fc319c59b02a2345482

TypeORM-readme-12.ts Raw
1export const AppDataSource = new DataSource({
2 type: "postgres",
3 host: "localhost",
4 port: 5432,
5 username: "test",
6 password: "test",
7 database: "test",
8 synchronize: true,
9 logging: true,
10 entities: [Post, Category],
11 subscribers: [],
12 migrations: [],
13})