Tools I made for myself
CLI
Ez-mig
A friendlier way to run database migrations, with short commands, named sessions, and no search through terminal history for connection strings.
The problem
Migration commands are not hard. Remembering which database, which env, and which flags you used last Tuesday is hard. Terminal history is not a session manager.
What it is
ez-mig keeps connection and session context next to the migration workflow. Routine changes stop depending on a connection string you last saw in scrollback.
What I built
The CLI stores named sessions so a migration is “run this against staging,” not “paste five environment variables in the right order.” It is a small Go tool on Cobra, with SQLite for the local session record.
How it fails
A missing session is an error before a connection attempt. It will not guess a production URL from a similar name.
Focus
- Short commands for common migration work
- Named database sessions
- Less reliance on terminal-history context
What changed
- Migrations are a named action, not a scavenger hunt through the shell.