Skip to content

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

@arthanson

Description

@arthanson

Plugin Version

v0.4.2

NetBox Version

v4.4.8

Python Version

3.11

Steps to Reproduce

  1. Have a new installation of NetBox without custom-objects installed
  2. Install custom-objects
  3. run migrations in an automated script using call_command "call_command('migrate', verbosity=0)"

Expected Behavior

The migrations run successfully.

Observed Behavior

Get a django.db.utils.ProgrammingError: column netbox_custom_objects_customobjecttype.cache_timestamp does not exist

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions