Repository navigation
v0.1.2
Rollbacks never drop data
Every Vitals migration skips tables and columns your application already has, but until now its down() dropped them anyway. Rolling back the batch after adopting Vitals over existing tables could delete all monitoring history, and monitor names where name existed before Vitals.
down()drops nothing in all four migrations. A rollback can't tell what Vitals created from what your application already had, so it leaves everything, with its data. Uninstalling is a manual step; see Installation.- Upgrading from 0.1.0 or 0.1.1: published migrations belong to your application and aren't updated by Composer. Make
down()empty in each of the four Vitals migrations indatabase/migrations. Nothing else changes.
What's Changed
Full Changelog: v0.1.1...v0.1.2