atc/db: remove query clearing resource config_id's
it's unclear to me why this is needed after adding the trigger in the
previous commit. All db tests pass without this query now.
@@ -563,18 +563,6 @@ func savePipeline(
return 0, false, err
}
- _, err = psql.Update("resources").
- Set("resource_config_id", nil).
- Where(sq.Eq{
- "pipeline_id": pipelineID,
- "active": false,
- }).
- RunWith(tx).
- Exec()
- if err != nil {
- return 0, false, err
- }
-
err = saveResourceTypes(tx, config.ResourceTypes, pipelineID)
if err != nil {
return 0, false, err
