mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Bump version 3.0.2.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
This commit is contained in:
parent
2993db14f0
commit
33e927ed1f
4 changed files with 11 additions and 51 deletions
|
|
@ -303,9 +303,7 @@ function getClient() {
|
|||
const url = process.env.DATABASE_URL;
|
||||
const replicaUrl = process.env.DATABASE_REPLICA_URL;
|
||||
const logQuery = process.env.LOG_QUERY;
|
||||
|
||||
const connectionUrl = new URL(url);
|
||||
const schema = connectionUrl.searchParams.get('schema') ?? undefined;
|
||||
const schema = getSchema();
|
||||
|
||||
const baseAdapter = new PrismaPg({ connectionString: url }, { schema });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue