This is should only be done before working in your database. If you would like to change this relationship time after data has been entered, please contact support@specifysoftware.org for more information.
PaleoContext → Collection Object
If only 1 discipline:
UPDATE discipline SET PaleoContextChildTable='collectionobject', IsPaleoContextEmbedded=true;
Otherwise, replace the XX
in disciplineid
with the Discipline’s ID that you would like to change the PaleoContext.
UPDATE discipline SET PaleoContextChildTable='collectionobject', IsPaleoContextEmbedded=true WHERE disciplineid=XX;
PaleoContext → Collecting Event
If only 1 discipline:
UPDATE discipline SET PaleoContextChildTable='collectingevent', IsPaleoContextEmbedded=true;
Otherwise, replace the XX
in disciplineid
with the Discipline’s ID that you would like to change the PaleoContext.
UPDATE discipline SET PaleoContextChildTable='collectingevent', IsPaleoContextEmbedded=true WHERE disciplineid=XX;
PaleoContext → Locality
If only 1 discipline:
UPDATE discipline SET PaleoContextChildTable='locality', IsPaleoContextEmbedded=true;
Otherwise, replace the XX
in disciplineid
with the Discipline’s ID that you would like to change the PaleoContext.
UPDATE discipline SET PaleoContextChildTable='locality', IsPaleoContextEmbedded=true WHERE disciplineid=XX;