Skip to content

Add support for AddEmbeddedIndex #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 34 commits into
base: mongodb-5.1.x
Choose a base branch
from

Conversation

timgraham
Copy link
Collaborator

This feature is in the exploration stage. This should not be considered anything more than a very early proof of concept. Obviously, we cannot patch Django like this, but it gives an idea of how easily such changes could be made in an autodetector subclass. The custom migration operations are added in django/db/migrations/operations/models.py for expediency of this POC. Obviously, they would live in django_mongodb_backend.

timgraham and others added 30 commits March 7, 2025 19:54
with some microsecond support mixed in
MongoDB uses ObjectId rather than integer
MongoDB doesn't support isnull constraints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants