From 579b194eb95dad0f0c2ef7854c015644e7a43b4f Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 7 Apr 2026 05:24:20 +0200 Subject: [PATCH] fix: regenerate templ and update migrate command --- Makefile | 2 +- internal/templates/sort_filter_templ.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4bae07d..6546edf 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ test: go test ./... migrate: - sqlite3 mal.db < migrations/001_init.sql + for f in migrations/*.sql; do sqlite3 mal.db < "$$f" 2>/dev/null || true; done sqlc: sqlc generate diff --git a/internal/templates/sort_filter_templ.go b/internal/templates/sort_filter_templ.go index 8c3765d..31089a6 100644 --- a/internal/templates/sort_filter_templ.go +++ b/internal/templates/sort_filter_templ.go @@ -36,7 +36,7 @@ func SortFilter(opts SortFilterOptions) templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "