jeudi 25 février 2016

How do I fix a bad data in one of the table in the database?

Problem

I have a bad data in one of my table in my database, and it requires me to truncate a table. I can do it with no problem, but what about my team, QAs, and other developers - that already have the code, and bad data. Do they need to truncate their table manually too ? How do people usually deal with something like this ?


Solution

If I truncate that table via migration script, is it a good idea ? Then, my whole team will just need to run : php artisan migrate.


I'm open to any suggestions on this.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1XOzw1c
via IFTTT

Aucun commentaire:

Enregistrer un commentaire