Skip to content
Discussion options

You must be logged in to vote

Hi @nithin1995, sorry for the slow response here!

This issue generally hints at that this migration (file) was already applied but failed while being applied. As this migration adds an index to the database, this might happen due to short session timeouts configured on the postgres user that is used to run the migrations.

You can add a separate user that is just used for migrations, quoting from the docs

Connection string of your Postgres database used for database migrations. Use this if you want to use a different user for migrations or use connection pooling on DATABASE_URL. For large deployments, configure the database user with long timeouts as migrations might need a while to compl…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
7 replies
@nithin1995
Comment options

@dosubot
Comment options

@nithin1995
Comment options

@dosubot
Comment options

@nithin1995
Comment options

Comment options

You must be logged in to vote
2 replies
@nithin1995
Comment options

@nithin1995
Comment options

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