Skip to content

Conversation

@arthanson
Copy link
Contributor

@arthanson arthanson commented Dec 11, 2025

Fixes: #326

Improves the check in init for if running in a migration, now checks that all migrations for custom objects have been run. This also makes the _check_custom_object_type_table_exists routine superfluous so can be removed.

@arthanson arthanson changed the title DRAFT: check if cache_timeout field exists Improve initialization code check when running migrations Dec 11, 2025
@arthanson arthanson marked this pull request as ready for review December 11, 2025 19:05
@arthanson arthanson requested a review from bctiemann December 11, 2025 19:05
@arthanson arthanson merged commit 143e745 into main Dec 12, 2025
7 checks passed
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.

Running migrations using call_command generates ProgrammingError: column netbox_custom_objects_customobjecttype.cache_timestamp does not exist

3 participants