clean-up protocol, update getDatabaseType logic for CH

This commit is contained in:
Francis Cao 2023-09-29 11:22:13 -07:00
parent 98b7624e8f
commit c6d0fde424
3 changed files with 6 additions and 7 deletions

View file

@ -17,6 +17,10 @@ export function getDatabaseType(url = process.env.DATABASE_URL) {
return POSTGRESQL;
}
if (process.env.CLICKHOUSE_URL) {
return CLICKHOUSE;
}
return type;
}