I accidentally wiped our production database on my third day and got fired on the spot.
I am sitting here shaking and honestly don't even know what to do with myself right now. I just started my first junior dev job on Monday after months of brutal searching.
On my third day my onboarding ticket was pretty standard: set up my local development environment and run a script to seed my local database with test data.
The onboarding documentation was pretty outdated so a senior dev told me to pull down the latest repository and copy over the configuration files. I ran the local reset script that was supposed to drop my local database tables and re-apply migrations.
What I didn't realize and what no one told me was that the template config file they had me copy was hardcoded with live production database credentials instead of localhost.
The script executed wiped the main customer data schema and completely took down the live product for our entire user base.
I was pulled into a Google Meet with the Engineering Manager and HR. They told me that my conduct was negligent, revoked my credentials during the call, and fired me effective immediately.
I’m in total shock and terrified that this is going to follow me around or worse that they'll try to come after me legally for the downtime. Is my career over before it even got off the ground?