Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlx-cli: Add possibility to force drop database PostgreSQL (v 13 and beyond) #2867

Closed
IlSerry opened this issue Nov 9, 2023 · 1 comment · Fixed by #2873
Closed

sqlx-cli: Add possibility to force drop database PostgreSQL (v 13 and beyond) #2867

IlSerry opened this issue Nov 9, 2023 · 1 comment · Fixed by #2873

Comments

@IlSerry
Copy link

IlSerry commented Nov 9, 2023

Hello there

When calling the command "sqlx database reset" from a terminal, the operation could not be completed if there are some active connection.

PostgreSQL offer the clausole "WITH (FORCE)" to avoid this situation add drop the db correctly.

It is possible to add the clause WITH ( FORCE ) here ?

@Vrajs16
Copy link
Contributor

Vrajs16 commented Nov 10, 2023

Duplicate #2075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants