We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Version: 2.10.1 CLI Version (for CLI related issue): 2.10.1
OSS
When running hasura migrate status from a config v2 directory, hasura attempts to create the hdb_catalog.schema_migrations table if it does not exist.
hasura migrate status
hdb_catalog.schema_migrations
This fails if the hdb_catalog schema does not exist.
hdb_catalog
This issue may affect all hasura migrate commands.
hasura migrate
The hdb_catalog schema should be created when required if it does not exist.
version: "3.8" services: postgres: image: postgres:14 expose: - 5432 volumes: - postgres-data:/var/lib/postgresql/data - ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d environment: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} POSTGRES_USER: ${POSTGRES_USERNAME:-postgres} POSTGRES_DB: metadata graphql-engine: restart: always image: hasura/graphql-engine:v2.10.1 ports: - "8080:8080" depends_on: - postgres environment: HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://${POSTGRES_USERNAME:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/metadata HASURA_GRAPHQL_DATABASE_URL: postgres://${POSTGRES_USERNAME:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/postgres HASURA_GRAPHQL_ENABLE_CONSOLE: "true" HASURA_GRAPHQL_DEV_MODE: "true" HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
hasura init --version 2
postgres
Users can easily work around this by creating the hdb_catalog schema in their user database:
CREATE SCHEMA hdb_catalog;
However, we'd strongly encourage users to migrate to config v3 instead.
The text was updated successfully, but these errors were encountered:
manasag
No branches or pull requests
Version Information
Server Version: 2.10.1
CLI Version (for CLI related issue): 2.10.1
Environment
OSS
What is the current behaviour?
When running
hasura migrate status
from a config v2 directory, hasura attempts to create thehdb_catalog.schema_migrations
table if it does not exist.This fails if the
hdb_catalog
schema does not exist.This issue may affect all
hasura migrate
commands.What is the expected behaviour?
The
hdb_catalog
schema should be created when required if it does not exist.How to reproduce the issue?
sample docker-compose.yaml
hdb_catalog
schema does not exist in thepostgres
databaseAny possible solutions?
Users can easily work around this by creating the
hdb_catalog
schema in their user database:However, we'd strongly encourage users to migrate to config v3 instead.
The text was updated successfully, but these errors were encountered: