Skip to content

Include timestamp in application name when running migrations on postgres #706

@hfhchan-plb

Description

@hfhchan-plb

When running migrations, it would be useful to include the timestamp in the application name when running migrations on postgres, as the application_name can be logged out and/or used in auditing.

Example: dbmate[20251111103123] for a migration script 20251111103123_update_data.sql

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions