-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
$ 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"
--
--
$
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request