mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 15:05:00 +00:00
Demonstrates pgmigrate with embedded SQL migrations: up, down, status, and reset commands. Two migrations (init + create-todos) show the minimum viable pattern for using sqlmigrate with PostgreSQL.
3 lines
81 B
SQL
3 lines
81 B
SQL
DELETE FROM _migrations WHERE id = '00000001';
|
|
DROP TABLE IF EXISTS _migrations;
|