#### What does this PR do? The seed didn't run correctly because there was a typo. ``` INSERT INTO role_capability (role_id, cap_name) SELECT (SELECT id FROM role WHERE name = 'read-only'), 'delivery-servie-security-keys-read' WHERE EXISTS (SELECT id FROM role WHERE name = 'read-only') ON CONFLICT DO NOTHING; ERROR: insert or update on table "role_capability" violates foreign key constraint "fk_cap_name" DETAIL: Key (cap_name)=(delivery-servie-security-keys-read) is not present in table "capability". Can't seed database w/ required data ```
#### What is the best way to verify this PR? Run the upgrade, make sure there are no errors. #### Check all that apply - [ ] This PR includes tests - [ ] This PR includes documentation updates - [ ] This PR includes an update to CHANGELOG.md - [X] This PR includes all required license headers - [X] This PR does *NOT* fix a serious security flaw. Read more: [www.apache.org/security](http://www.apache.org/security/) <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> [ Full content available at: https://github.com/apache/trafficcontrol/pull/2762 ] This message was relayed via gitbox.apache.org for [email protected]
