fix(psql-import): remove typo for import command (psql) (#546)

This commit is contained in:
Jonathan Fishner
2025-01-30 14:53:01 +02:00
committed by GitHub
parent fef6d3f499
commit eb9b41e4f6

View File

@@ -275,7 +275,7 @@ FROM fk_info${databaseEdition ? '_' + databaseEdition : ''}, pk_info, cols, inde
if (options.databaseClient === DatabaseClient.POSTGRESQL_PSQL) {
return `${psqlPreCommand}psql -h HOST_NAME -p PORT -U USER_NAME -d DATABASE_NAME -c "
${query.replace(/"/g, '\\"').replace(/\\\\/g, '\\\\\\').replace(/\\x/g, '\\\\x')}
" -t -A > output.json";`;
" -t -A > output.json;`;
}
return query;