Skip to content

Commit

Permalink
Add a DROP TABLE to the "down" part of the new db migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobg committed Feb 11, 2024
1 parent 9427ba5 commit e5435b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlite/migrations/20240210124725_addversion.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ INSERT OR IGNORE INTO version (singleton, version) VALUES (0, 1);
-- +goose Down
-- +goose StatementBegin
SELECT 'down SQL query';

DROP TABLE IF EXISTS version;
-- +goose StatementEnd

0 comments on commit e5435b8

Please sign in to comment.