Setting the migration timestamp as part of the application_name? #645
hfhchan-plb
started this conversation in
Feature Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On postgres, the application_name can be set in transactions and read in triggers. If it is possible to set the application_name in each transaction to e.g.
dbmate-20250503211518
, then auditing functions implemented using triggers can then associate the change with the migration file which triggered it.Beta Was this translation helpful? Give feedback.
All reactions