mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-20 10:11:48 +03:00
7b9175a4a4
Revert "Convert metadata tables to camelCase (#2400)"
This reverts commit 1cf08c797f
.
17 lines
517 B
TypeScript
17 lines
517 B
TypeScript
import dotenv from 'dotenv';
|
|
import { PostgresConnectionOptions } from 'typeorm/driver/postgres/PostgresConnectionOptions';
|
|
dotenv.config();
|
|
|
|
export default {
|
|
url: process.env.PG_DATABASE_URL,
|
|
type: 'postgres',
|
|
entities: [__dirname + '/src/coreV2/**/*.entity{.ts,.js}'],
|
|
synchronize: false,
|
|
migrationsRun: true,
|
|
migrationsTableName: '_typeorm_migrations',
|
|
migrations: [__dirname + '/migrations/**/*{.ts,.js}'],
|
|
cli: {
|
|
migrationsDir: __dirname + '/migrations',
|
|
},
|
|
} as PostgresConnectionOptions;
|