2 ms·
Meh. It works both ways. There was a time if you asked for transactions on MySQL...
by cbsmith 9y ago
Meh. It works both ways. There was a time if you asked for transactions on MySQL...
- leetrout 9y agoAnd I still don't have my DDL transactions... :) ;)
- astrodust 9y agoThis is a pretty huge deal in some uses cases. It makes undoing a bad migration trivial.
- pmarreck 9y agoManually cleaning up a bad migration fucking sucks. The best you can do is make migrations idempotent in both directions.
- pritambaral 9y agoMaking migrations idempotent in both directions — when you can — is generally a good idea anyway.
- cbsmith 9y agoYeah. I built out a whole framework to get around the DDL thing. Super annoying.