text: module.exports = {
      type: 'postgres',
      host: process.env.POSTGRES_HOST,
      port: +process.env.POSTGRES_PORT,
      username: process.env.POSTGRES_USERNAME,
      password: process.env.POSTGRES_PASSWORD,
      database: process.env.POSTGRES_DATABASE,
      ssl: process.env.POSTGRES_SSL === 'true' ? {rejectUnauthorized: false} : false,
      entities: [
          'src/**/*.entity{.ts,.js}',
      ],
      migrations: [
          'src/migrations/*{.ts,.js}',
      ],
      cli: {
          migrationsDir: 'src/migrations'
      },
  };
  