Skip to content
New issue

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

Migrations Logs and Diagnostic Info #5790

Open
WonderPanda opened this issue Sep 15, 2020 · 0 comments
Open

Migrations Logs and Diagnostic Info #5790

WonderPanda opened this issue Sep 15, 2020 · 0 comments
Labels
c/cli Related to CLI

Comments

@WonderPanda
Copy link

While migrations generally touch only the Database schema, sometimes it's useful to be able to apply some data changes as well. For example, dropping the values in an old column or updating values for a new column based on data that already exists in the database.

It would be helpful if Hasura reported more information about the actual results of running SQL statements from the migrations for example the number of rows affected by a statement.

Attempting to include statements inside of a migration file that should explicitly return results (eg SELECT COUNT(*) FROM table;) do not produce any information in the migration logs even when running with --log-level DEBUG

@tirumaraiselvan tirumaraiselvan added the c/cli Related to CLI label Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI
Projects
None yet
Development

No branches or pull requests

2 participants