Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I never succeeded in dropping all tables at ones, not talking about production, in my Dev environment, I always fail cuz of relations wonder how people succeed in doing that
-
Eversor3526y@ngCry In the most stupid way ever:
We use Sequel Pro here to connect to databases. So I did have 3 different setups in it (dev, acc and prod). I needed to drop all tables from my dev environment for some reason while working on something with my college. He sat next to me and said: "Hey, you can change the colors of each of these environments so you always know where you are". Great idea, so I did it, but somehow I probably mis-clicked something somewhere which resulted in the credentials of the production environment overwriting these of environment. So after changing the colors of the environments I clicked my dev environment, noticed the screen was green and yet destroyed the whole production environment.
Turns out that dropping all tables on the production database wasn’t such a good idea. π
Thank god we had a backup from 10 minutes before it happend.
rant