Tern
The SQL Fan's Migrator
Tern is an open-source PostgreSQL migration tool designed to manage database schema changes through SQL-based migrations. It allows developers to organize, apply, and reverse database modifications using sequentially numbered migration files. Each migration can contain SQL statements for both applying and rolling back changes, with execution handled through database transactions.