Skip to content

Commit

Permalink
Add unit
Browse files Browse the repository at this point in the history
  • Loading branch information
CarolineDenis committed Sep 19, 2024
1 parent a7a738e commit 7a110ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`fields are loaded 1`] = `
[
"[literalField CollectionObject.actualTotalCountAmt]",
"[literalField CollectionObject.age]",
"[literalField CollectionObject.availability]",
"[literalField CollectionObject.catalogNumber]",
"[literalField CollectionObject.catalogedDate]",
Expand Down Expand Up @@ -104,6 +105,7 @@ exports[`fields are loaded 1`] = `
exports[`literal fields are loaded 1`] = `
[
"[literalField CollectionObject.actualTotalCountAmt]",
"[literalField CollectionObject.age]",
"[literalField CollectionObject.availability]",
"[literalField CollectionObject.catalogNumber]",
"[literalField CollectionObject.catalogedDate]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ test('indexed fields are loaded', () =>
{
"accession": "[relationship CollectionObject.accession]",
"actualTotalCountAmt": "[literalField CollectionObject.actualTotalCountAmt]",
"age": "[literalField CollectionObject.age]",
"agent1": "[relationship CollectionObject.agent1]",
"altCatalogNumber": "[literalField CollectionObject.altCatalogNumber]",
"appraisal": "[relationship CollectionObject.appraisal]",
Expand Down
2 changes: 1 addition & 1 deletion specifyweb/specify/migrations/0005_stratigraphy_age.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def revert_cosolidated_python_django_migration_operations(apps, schema_editor):
('acceptedtectonicunit', models.ForeignKey(db_column='AcceptedID', null=True, on_delete=models.CASCADE, related_name='acceptedchildren', to='specify.tectonicunit')),
('createdbyagent', models.ForeignKey(db_column='CreatedByAgentID', null=True, on_delete=specifyweb.specify.models.protect_with_blockers, related_name='+', to='specify.agent')),
('modifiedbyagent', models.ForeignKey(db_column='ModifiedByAgentID', null=True, on_delete=specifyweb.specify.models.protect_with_blockers, related_name='+', to='specify.agent')),
('parent', models.ForeignKey(db_column='ParentID', null=True, on_delete=specifyweb.specify.models.protect_with_blockers, related_name='children', to='specify.tectonic')),
('parent', models.ForeignKey(db_column='ParentID', null=True, on_delete=specifyweb.specify.models.protect_with_blockers, related_name='children', to='specify.tectonicunit')),
('tectonictreedef', models.ForeignKey(db_column='TectonicTreeDefID', on_delete=specifyweb.specify.models.protect_with_blockers, related_name='tectonics', to='specify.tectonictreedef')),
('tectonictreedefitem', models.ForeignKey(db_column='TectonicTreeDefItemID', on_delete=specifyweb.specify.models.protect_with_blockers, related_name='tectonics', to='specify.tectonictreedefitem')),
],
Expand Down

0 comments on commit 7a110ab

Please sign in to comment.