Include the 'uuid' in Cockroachdb flow

This fixes an 'undefined' error
This commit is contained in:
Sammy-T 2023-01-28 18:45:13 -05:00
parent 00a7272ec7
commit d9a146d9f7

View file

@ -39,7 +39,7 @@ function logQuery(e) {
function toUuid() { function toUuid() {
const db = getDatabaseType(process.env.DATABASE_URL); const db = getDatabaseType(process.env.DATABASE_URL);
if (db === POSTGRESQL) { if (db === POSTGRESQL || db == COCKROACHDB) {
return '::uuid'; return '::uuid';
} }