You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer I want to preview changes to the database model without any other output So that I can quickly confirm there are no changes to the database model
More info
Right now, when there are no changes to the database model, trek generate --stdout generates the below output (or worse, including unnecessary statements like in bug #20 ). I would like it to generate 0 output in that case. This would also allow more easy automation in some scenarios.
$ trek generate --stdout
2024/01/07 13:22:20 Skipping hook "check-pre"
2024/01/07 13:22:20 Checking dbm file
2024/01/07 13:22:20 Checking migration file names
2024/01/07 13:22:20 Checking templates
2024/01/07 13:22:20 Checking migrations and testdata
2024/01/07 13:22:20 Skipping hook "check-post"
2024/01/07 13:22:20 Changes detected
2024/01/07 13:22:24 Generating migration statements
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
2024/01/07 13:22:25 Skipping hook "generate-migration-post"
--
--
$
The text was updated successfully, but these errors were encountered:
User story
As a developer
I want to preview changes to the database model without any other output
So that I can quickly confirm there are no changes to the database model
More info
Right now, when there are no changes to the database model,
trek generate --stdout
generates the below output (or worse, including unnecessary statements like in bug #20 ). I would like it to generate 0 output in that case. This would also allow more easy automation in some scenarios.The text was updated successfully, but these errors were encountered: