Skip to content

Allow use of custom image in bobgen-sql #624

@brunoluiz

Description

@brunoluiz

If a table contains uuidv7() as a DEFAULT it will not work since the image used on the getPsqlDriver (reference) uses pgvector/pgvector:0.8.0-pg16 (Postgres 16) and fails on migrate. A newer image is available as 0.8.1-pg18-trixie.

Another option would be to allow custom images on the getPsqlDriver as well, so it detaches bob from subsequent postgres releases.

Error logs:

go generate ./...
migrating static/migration/20260131114331_init.down.sql...
migrating static/migration/20260131114331_init.up.sql...
getting psql driver: migrating: migrating static/migration/20260131114331_init.up.sql: pq: function uuidv7() does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions