fix: sort datamodel alphabetically#8139
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughRefactors table initialization in fetchContext to perform registration in a first pass (all tables added to genericTables) and a second pass that builds literal fields, relationships, front-end-only fields, derived maps, and invokes schemaExtras, using an explicit alphabetical table ordering. ChangesData Model Table Initialization
Test snapshot update
Suggested reviewers
🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Actionable comments posted: 0 |
Fixes #8138
This PR sorts the tables in the data model alphabetically. See now that
Absolute Ageis at the top in both cases, which is the first by alphabetical sort.Checklist
self-explanatory (or properly documented)
specify7/specifyweb/specify/management/commands/run_key_migration_functions.py
Line 50 in ea04665
Testing instructions
Make sure to test this against the latest
v7tagged release!Summary by CodeRabbit
Refactor
Tests