hasura / hasura/graphql-engine

detect if migrations have already been created using cli on server console

Open
#3,722 1 comment 0 reactions 0 assignees View on GitHub
c/console e/easy p/medium
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

When i start using hasura cli to manage my migrations and by mistake if i switch to server console to modify schema / metadata, my whole migration workflow goes for a toss.

Adding the remaining migrations manually is one option but tedious.

But if the console served by the server can detect if migrations have already been created before (can be found using the `migration_settings` table inside `hdb_catalog`), then it should throw a warning asking for a confirmation to go ahead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.