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
The error is not related to the CLI options, so they shouldn't be shown.
Steps To Reproduce
Write some faulty CHECK constraint
Run trek generate
Relevant log output
2024/09/12 18:48:56 Changes detected
2024/09/12 18:48:59 Generating migration statements
Error: failed to generate migration statements: failed to execute target sql: failed to execute target sql: ERROR: operator does not exist: timestamp with time zone > integer (SQLSTATE 42883)
Usage:
trek generate [migration-name] [flags]
Flags:
--check Run checks after generating the migration (default true)
--cleanup Remove the generated migrations file. Only works with --dev (default true)
--dev Watch for file changes and automatically regenerate the migration file
-h, --help helpfor generate
--overwrite Overwrite existing files
--stdout Output migration statements to stdout
Global Flags:
--force-embedded-migra Force using the embedded migra binary instead of the system one.
failed to generate migration statements: failed to execute target sql: failed to execute target sql: ERROR: operator does not exist: timestamp with time zone > integer (SQLSTATE 42883)
The text was updated successfully, but these errors were encountered:
Description
The error is not related to the CLI options, so they shouldn't be shown.
Steps To Reproduce
Relevant log output
The text was updated successfully, but these errors were encountered: