mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-14 03:07:24 +03:00
Fix SQL migrations
This commit is contained in:
parent
c3cc7dee01
commit
95016f687e
13
db/migration/20230404104309_empty_sql_migration.sql
Normal file
13
db/migration/20230404104309_empty_sql_migration.sql
Normal file
@ -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 StatementEnd
|
@ -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)
|
Loading…
x
Reference in New Issue
Block a user