Closed michael-barbour closed 3 years ago
closes #200
This should handle the active and passive sync between chemcurator_django and resolver.
To test this run manage.py sync. This will delete all records then add all substances and any solo compounds into resolver.
manage.py sync
There are a stupidly high number of cases for this one. Broken down into rules, it should look something like this:
Saving a compound or substance with an already used sid/cid will result in an error. This validation only runs on create and not on update.
closes #200
This should handle the active and passive sync between chemcurator_django and resolver.
Active sync:
To test this run
manage.py sync
. This will delete all records then add all substances and any solo compounds into resolver.Passive Sync:
There are a stupidly high number of cases for this one. Broken down into rules, it should look something like this:
Constraint:
Saving a compound or substance with an already used sid/cid will result in an error. This validation only runs on create and not on update.