The Deploy Script That Ate the Production Database
A homegrown deploy script copied the whole app folder to prod — database file and all — and quietly overwrote live data with an empty local copy.
A homegrown deploy script copied the whole app folder to prod — database file and all — and quietly overwrote live data with an empty local copy.
I deleted nine files on purpose — and my backup node helpfully deleted them everywhere else too.