What's really fun is when you commit your environment variables to github. Or accidently delete part of a database "DELETE FROM inventory". Mistakes are part of the game but we can mitigate it in different ways.
I like MySQL (Workbench) when it comes to the DELETE FROM command. It won't allow you to delete without a where clause. Very annoying when you do want to delete all when you're not working with a production database.
I guess, these situations are usual for beginners in IT and it's okay and not the end of the world: env variables can be "gitignored" or removed from the repo, and for a database, devs should always have backups 🙂
I've definitely done both of these things, fortunately not with anything major. 😁 The frustrating part of committing env files is that they'll remain in the commit logs even if they're ignored later still allowing potential access through the projects history. It's like cleaning up an oil spill. 😳 Lessons learned I suppose.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What's really fun is when you commit your environment variables to github. Or accidently delete part of a database "DELETE FROM inventory". Mistakes are part of the game but we can mitigate it in different ways.
I like MySQL (Workbench) when it comes to the DELETE FROM command. It won't allow you to delete without a where clause. Very annoying when you do want to delete all when you're not working with a production database.
I guess, these situations are usual for beginners in IT and it's okay and not the end of the world: env variables can be "gitignored" or removed from the repo, and for a database, devs should always have backups 🙂
I've definitely done both of these things, fortunately not with anything major. 😁 The frustrating part of committing env files is that they'll remain in the commit logs even if they're ignored later still allowing potential access through the projects history. It's like cleaning up an oil spill. 😳 Lessons learned I suppose.