We keep the generated test files in git. On every database change, we run a docker container, apply migrations to it and then regenerate and commit the test files. However following statements are often out of order:
SELECT triggers_are
SELECT has_trigger
SELECT trigger_is
Figured out that this query is missing ORDER BY clause and causing this behavior.
Expected Behavior:
If the database structure is unchanged, the generated files should be identical.
Problem:
We keep the generated test files in git. On every database change, we run a docker container, apply migrations to it and then regenerate and commit the test files. However following statements are often out of order:
Figured out that this query is missing
ORDER BY
clause and causing this behavior.Expected Behavior:
If the database structure is unchanged, the generated files should be identical.