Skip to content

run_key_migration_functions not creating schema records for new disciplines #7559

@grantfitzsimmons

Description

@grantfitzsimmons

Describe the bug
I added the following new disciplines to the workshop database on the Canadian cloud:

  • Insects
  • Herbarium
  • Invert Paleo
  • Geology

Running ve/bin/python manage.py run_key_migration_functions showed the correct log output, but did not actually create the schema records for new Specify 7 tables (e.g. collectionobjectgroup or collectionobjecttype).

Image

To Reproduce
Steps to reproduce the behavior:

  1. Add a new discipline to a database already being used with Specify 7
  2. Run ve/bin/python manage.py run_key_migration_functions in the Specify 7 docker container
  3. See the logs, no errors
  4. See that new schema records are not populated for the new discipline

This is happening on main and v7.11.3

Expected behavior
The schema records should be created for all disciplines where they do not currently exist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions