Currently `SchemaEditor` doesn't log queries and thus the `sqlmigrate` command doesn't work. Reference: [Django's implementation](https://github.com/django/django/blob/main/django/db/backends/base/schema.py#L148) Also see: [CollectionDebugWrapper](https://github.com/mongodb-labs/django-mongodb/blob/41598ec6549aaf6ca21ea349fb0c323d319b618b/django_mongodb/utils.py#L28)