golib/cmd/sql-migrate/examples/my-todos/sql/migrations/2026-04-05-002000_add-todo-fields.down.sql

8 lines
190 B
SQL

-- add-todo-fields (down)
ALTER TABLE todos DROP COLUMN priority;
ALTER TABLE todos DROP COLUMN completed_at;
-- leave this as the last line
DELETE FROM _migrations WHERE id = 'd4e5f6a7';