Add optimize maintenance function

This commit is contained in:
Claudio Ortolina
2025-12-15 10:22:20 +03:00
parent dfb9a4791a
commit 162a38b62e
5 changed files with 64 additions and 7 deletions
+2
View File
@@ -35,4 +35,6 @@ defmodule MusicLibrary.Repo do
end
def vacuum, do: query("VACUUM")
def optimize, do: query("PRAGMA optimize")
end