Fix SQL migrations

This commit is contained in:
Deluan 2023-04-04 10:45:55 -04:00
parent c3cc7dee01
commit 95016f687e
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)