Skip to content

Add support for embedded model schema changes - #19

Closed
timgraham wants to merge 6 commits into
mongodb-6.1.xfrom
embedded-schema
Closed

timgraham wants to merge 6 commits into
mongodb-6.1.xfrom
embedded-schema

Conversation

@timgraham

Copy link
Copy Markdown
Contributor

This is a working draft of changes needed to the built-in MigrationAutodetector to support embedded model fields.

The changes aren't intended to be merged to this Django fork, rather the goal is to the necessary hooks to MigrationAutodetector so that we don't need to fork it.

@timgraham
timgraham force-pushed the mongodb-6.1.x branch 3 times, most recently from 2842afa to b47cb33 Compare April 21, 2026 01:22
@timgraham
timgraham force-pushed the mongodb-6.1.x branch 2 times, most recently from 245e0f3 to 12ea291 Compare April 28, 2026 19:40
@timgraham
timgraham force-pushed the mongodb-6.1.x branch 3 times, most recently from 1f21713 to cefb774 Compare May 2, 2026 12:35
@timgraham
timgraham force-pushed the mongodb-6.1.x branch 3 times, most recently from 555efcc to 386921a Compare May 7, 2026 14:10
@timgraham
timgraham force-pushed the mongodb-6.1.x branch 2 times, most recently from d94bd87 to 5cd0b9a Compare May 15, 2026 14:58
@timgraham
timgraham force-pushed the embedded-schema branch 3 times, most recently from b2e6e96 to 6500869 Compare May 17, 2026 01:13
@timgraham
timgraham force-pushed the mongodb-6.1.x branch 2 times, most recently from f57a58d to 3dc5a7d Compare May 21, 2026 13:29
@timgraham

Copy link
Copy Markdown
Contributor Author

It might be a long-term goal to add the necessary autodetector hooks, but for now, I've pivoted the approach to instead use an Autodetector subclass in django-mongodb-backend. Work continues in mongodb/django-mongodb-backend#518.

@timgraham timgraham closed this May 23, 2026
@timgraham
timgraham deleted the embedded-schema branch July 2, 2026 11:06
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.

1 participant