diff --git a/db/migration/20230404104309_empty_sql_migration.sql b/db/migration/20230404104309_empty_sql_migration.sql new file mode 100644 index 00000000000..7a2c92116b6 --- /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 StatementEnd diff --git a/db/migration/placeholder.sql b/db/migration/placeholder.sql deleted file mode 100644 index ca957faf8dd..00000000000 --- 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