2 ms·
While I think what you want is understandable - it's also extremely dangerous. You'd no longer be absolutely certain you're executing the same migration in prod
by y4mi 7y ago
While I think what you want is understandable - it's also extremely dangerous. You'd no longer be absolutely certain you're executing the same migration in production as on the testing environments.
That's exactly why I think Django's migrations are insanely good.
Simple ones are autogenerated and everything else is possible as well, with either python code or direct sql queries