fix invalid simulate location and sqlite connection for seaorm
This commit is contained in:
@@ -69,7 +69,7 @@ impl SQLiteContainer {
|
||||
impl DBInfo<OptionalContainerConfig> for SQLiteContainer {
|
||||
async fn get_db_container_config_info(&self) -> DBConfigInfoType {
|
||||
// sqlite filepath url does not include the "sqlite://" prefix
|
||||
let sqlite_url = format!("{}", self.get_db_absolute_path().to_string_lossy());
|
||||
let sqlite_url = format!("sqlite://{}", self.get_db_absolute_path().to_string_lossy());
|
||||
// create the file
|
||||
std::fs::create_dir_all(&self.config.absolute_dir_path)
|
||||
.expect("Failed to create directories for SQLite database");
|
||||
|
||||
Reference in New Issue
Block a user