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, "