We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I run
use migration::{Migrator, MigratorTrait}; let connection = sea_orm::Database::connect(&database_url).await?; Migrator::up(&connection, None).await?;
I expected that at the end of the app the DB would close.
Db does not close at the end of the app and still has .shm and .wal files. I had this problem trying to copy the Db after the migration ended.
The text was updated successfully, but these errors were encountered:
Hey @zbinhazzaa, thanks for the report! This has to do with the underlying database connector: SQLx.
Related Issues:
I think at SeaORM we could introduce an async close method to close the connection.
close
Sorry, something went wrong.
https://docs.rs/sea-orm/latest/sea_orm/entity/prelude/enum.DatabaseConnection.html#method.close
No branches or pull requests
Expected Behavior
I run
I expected that at the end of the app the DB would close.
Actual Behavior
Db does not close at the end of the app and still has .shm and .wal files.
I had this problem trying to copy the Db after the migration ended.
The text was updated successfully, but these errors were encountered: