Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disitnguish inferred migrations by timestamp
When two statements are run in a transaction, we need to explicitly insert `statement_timestamp()` into the `created_at` and `updated_at` fields rather than relying on the table default of `current_timestamp`. `current_timestamp` is the same for all statements in a transaction, which causes problems when ordering statements by `created_at`.
- Loading branch information