You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2021/07/12 18:41:55 UTC
[trafficcontrol] branch master updated: Remove unused
deliveryservice.multi_site_origin_algorithm column (#5998)
This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 975a76d Remove unused deliveryservice.multi_site_origin_algorithm column (#5998)
975a76d is described below
commit 975a76dc49c0856cfbe1acc8b39b3a57d20eebce
Author: Rawlin Peters <ra...@apache.org>
AuthorDate: Mon Jul 12 12:41:42 2021 -0600
Remove unused deliveryservice.multi_site_origin_algorithm column (#5998)
---
.../migrations/2021070600000000_remove_ds_mso_alg.sql | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/traffic_ops/app/db/migrations/2021070600000000_remove_ds_mso_alg.sql b/traffic_ops/app/db/migrations/2021070600000000_remove_ds_mso_alg.sql
new file mode 100644
index 0000000..0a32143
--- /dev/null
+++ b/traffic_ops/app/db/migrations/2021070600000000_remove_ds_mso_alg.sql
@@ -0,0 +1,17 @@
+/*
+ Licensed 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.
+*/
+
+-- +goose Up
+ALTER TABLE deliveryservice DROP COLUMN multi_site_origin_algorithm;
+
+-- +goose Down
+ALTER TABLE deliveryservice ADD COLUMN multi_site_origin_algorithm smallint;