xerions / phoenix_swagger

Swagger integration to Phoenix framework
Mozilla Public License 2.0
691 stars 181 forks source link

There are 10 other sessions using the database. #271

Closed wasibiit closed 2 years ago

wasibiit commented 2 years ago

When i try to reset my database or had to do anything with database, opened 10 sessions,

➜ my_app git:(new-codebase) mix ecto.reset api: generated priv/static/swagger.json ** (Mix) The database for Data.Repo couldn't be dropped: ERROR 55006 (object_in_use) database "my_app" is being accessed by other users

There are 10 other sessions using the database.

How i resolve this issue. I comment out the configuration from config.ex .

0xAX commented 2 years ago

@wasitanbits I am not sure that your issue is related to the phoenix_swagger project. Feel free to re-open the issue if I am wrong