Fix SQL migrations

This commit is contained in:
Deluan 2023-04-04 10:45:55 -04:00 committed by Joe Stump
parent 55c1d95376
commit 43f4e8a009
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9
2 changed files with 13 additions and 3 deletions

View 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

View File

@ -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)