Skip to content

Postgres enum values added in early migrations not available in later migrations when running 'upgrade head' on empty database #1578

Discussion options

You must be logged in to vote

as the hint indicates, that alter type needs to be committed before it can be referenced. the autocommit_block construct was added to support exactly this use case.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stevegoss-komodo
Comment options

@CaselIT
Comment options

Answer selected by stevegoss-komodo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants