source with name "default" does not exist

Author: goof03Created May 18, 2022Updated Sep 23, 2026
Labelsk/bugsupport/needs-more-info

hasura:v2.6.2 postgres: PostgreSQL 14.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit

After an ugrade and migration to multi db and renaming default database.

When i try : CREATE OR REPLACE VIEW … DROP VIEW …

I always get : SQL Execution Failed source with name "default" does not exist

If i rename back the db to default it work again