Skip to content

Attempts to create Postgres migrations table after updating to Laravel 9 but it already exists (Postgres+PGBouncer) #43536

Discussion options

You must be logged in to vote

This is a hack, but I can force parseSearchPath to return the values I want in this scenario by changing config('database.migrations') to the fully qualified {database}.{schema}.{table} format like homestead.public.migrations. Alternatively, migrations can be performed directly without a connection pool.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@AlbinoDrought
Comment options

@AlbinoDrought
Comment options

@AlbinoDrought
Comment options

@dennis-koster
Comment options

Answer selected by AlbinoDrought
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants