Revert "Making SQL management commands migration aware."

This reverts commit cb9c9a7b5879671053c7d2ad6e79943a8814b274.