Skip to content

Commit

Permalink
Fix SQL migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Apr 4, 2023
1 parent c3cc7de commit 95016f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 13 additions & 0 deletions 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 StatementEnd
3 changes: 0 additions & 3 deletions db/migration/placeholder.sql

This file was deleted.

0 comments on commit 95016f6

Please sign in to comment.