Include the 'uuid' in Cockroachdb flow

This fixes an 'undefined' error
pull/1579/head
Sammy-T 2023-01-28 18:45:13 -05:00
parent 00a7272ec7
commit d9a146d9f7
1 changed files with 1 additions and 1 deletions

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';
} }