10

I almost fired off an update query without a where clause on the live db. I stopped at the last second. I'm now having survivors guilt. Why me? Why was I saved when so many before me didn't make it? 😁

Comments
  • 0
    migrations, why the fuck you're not using damn migrations instead of editing the damn live db, fucking resist the urge to edit anything after you deploy, instead do a staging where you test the shit before deploying, and on production stop changing, don't touch it after you deploy
  • 1
    @Qchmqs did you see his name?

    JK, we all do things we're not supposed to, get off your high horse.
  • 0
    @spongessuck high horse is best horse
  • 0
    Always start a modifying query as a select query to be sure you modify *only* what you expect to modify and nothing more
Add Comment