Eight of Pentacles

"The Migration Script"

Pentacles · Infrastructure

Upright +1

The database migration that was written, tested on a copy of prod data, run in staging, timed, and shipped with a rollback script ready. The Eight of Pentacles is craft applied to infrastructure — the boring, careful, unglamorous work that keeps data intact. Someone did this right.

Reversed -1

ALTER TABLE in a psql session connected directly to the production primary. No transaction, no backup, no rollback plan. The Eight of Pentacles reversed is the migration that was run by hand because someone thought the ORM was too slow. The table is locked and the connection pool is full.