mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Include the 'uuid' in Cockroachdb flow
This fixes an 'undefined' error
This commit is contained in:
parent
00a7272ec7
commit
d9a146d9f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue