🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix SQL migrations
Deluan95016f687ef4
diff --git a/db/migration/20230404104309_empty_sql_migration.sql b/db/migration/20230404104309_empty_sql_migration.sqlnew file mode 100644index 000000000..7a2c92116--- /dev/null+++ b/db/migration/20230404104309_empty_sql_migration.sql@@ -0,0 +1,13 @@+-- This file has intentionally no SQL logic. It is here to avoid an error in the linter:+-- db/db.go:23:4: invalid go:embed: build system did not supply embed configuration (typecheck)+--++-- +goose Up+-- +goose StatementBegin+SELECT 'up SQL query';+-- +goose StatementEnd++-- +goose Down+-- +goose StatementBegin+SELECT 'down SQL query';+-- +goose StatementEnddiff --git a/db/migration/placeholder.sql b/db/migration/placeholder.sqldeleted file mode 100644index ca957faf8..000000000--- a/db/migration/placeholder.sql+++ /dev/null@@ -1,3 +0,0 @@--- This can be removed once we have at least one SQL migration.--- It is here to avoid an error in the linter:--- db/db.go:23:4: invalid go:embed: build system did not supply embed configuration (typecheck)\ No newline at end of file