diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-22 12:09:14 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-22 12:09:14 +0100 |
commit | b605916a79f9910597ca930933a0e1eb9c49250e (patch) | |
tree | ad24e9d95a7372e871ba3006d42ccf65888b9f75 /yt/src | |
parent | fix(package): Update to account for modifications in `mkdb.sh` (diff) | |
download | yt-b605916a79f9910597ca930933a0e1eb9c49250e.zip |
chore(version): v1.5.0 v1.5.0
Diffstat (limited to 'yt/src')
-rw-r--r-- | yt/src/storage/migrate/mod.rs | 4 | ||||
-rw-r--r-- | yt/src/storage/mod.rs | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/yt/src/storage/migrate/mod.rs b/yt/src/storage/migrate/mod.rs index badeb6f..9622abe 100644 --- a/yt/src/storage/migrate/mod.rs +++ b/yt/src/storage/migrate/mod.rs @@ -130,9 +130,7 @@ impl DbVersion { .await .context("Failed to set new version")?; - tx.commit() - .await - .context("Failed to commit changes")?; + tx.commit().await.context("Failed to commit changes")?; // NOTE: This is needed, so that sqlite "sees" our changes to the table // without having to reconnect. <2025-02-18> diff --git a/yt/src/storage/mod.rs b/yt/src/storage/mod.rs index 8653eb3..d352b41 100644 --- a/yt/src/storage/mod.rs +++ b/yt/src/storage/mod.rs @@ -9,6 +9,6 @@ // You should have received a copy of the License along with this program. // If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. +pub mod migrate; pub mod subscriptions; pub mod video_database; -pub mod migrate; |