Fix database experience (#2263)

This commit is contained in:
Lucas Bordeau
2023-10-27 17:48:06 +02:00
committed by GitHub
parent 3c6ce75606
commit 14ae8da424
6 changed files with 81 additions and 6 deletions

View File

@ -27,6 +27,10 @@ const performQuery = async (query: string, consoleDescription: string) => {
connectionSource
.initialize()
.then(async () => {
await performQuery(
'CREATE SCHEMA IF NOT EXISTS "public"',
'create schema "public"',
);
await performQuery(
'CREATE SCHEMA IF NOT EXISTS "metadata"',
'create schema "metadata"',