You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2021/02/16 22:31:07 UTC
[trafficcontrol] branch 5.1.x updated: Reorder SQL migrations to
fix some upgrade issues (#5528)
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 5.1.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/5.1.x by this push:
new 34c1854 Reorder SQL migrations to fix some upgrade issues (#5528)
34c1854 is described below
commit 34c18546ebb80b0266ea95f43d99318e7881ee38
Author: Hank Beatty <hb...@users.noreply.github.com>
AuthorDate: Tue Feb 16 16:48:34 2021 -0500
Reorder SQL migrations to fix some upgrade issues (#5528)
This moves some SQL migrations past the last one in 5.0.x that were not in the 4.1.x and 5.0.x branch.
(cherry picked from commit 1fc56ceca48347f80f2c3655673000cfd4bd5376)
---
CHANGELOG.md | 1 +
...ncrypt_to_acme.sql => 2021010900000001_move_lets_encrypt_to_acme.sql} | 0
...=> 2021010900000002_add_max_request_header_size_delivery_service.sql} | 0
...cade.sql => 2021010900000003_server_interface_ip_address_cascade.sql} | 0
4 files changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54716ef..e7e50f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -46,6 +46,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [#5395](https://github.com/apache/trafficcontrol/issues/5395) - Added validation to prevent changing the Type any Cache Group that is in use by a Topology
- Fixed an issue with 2020082700000000_server_id_primary_key.sql trying to create multiple primary keys when there are multiple schemas.
- Fix for public schema in 2020062923101648_add_deleted_tables.sql
+- Moved move_lets_encrypt_to_acme.sql, add_max_request_header_size_delivery_service.sql, and server_interface_ip_address_cascade.sql past last migration in 5.0.0
### Changed
- Refactored the Traffic Ops Go client internals so that all public methods have a consistent behavior/implementation
diff --git a/traffic_ops/app/db/migrations/2020121500000000_move_lets_encrypt_to_acme.sql b/traffic_ops/app/db/migrations/2021010900000001_move_lets_encrypt_to_acme.sql
similarity index 100%
rename from traffic_ops/app/db/migrations/2020121500000000_move_lets_encrypt_to_acme.sql
rename to traffic_ops/app/db/migrations/2021010900000001_move_lets_encrypt_to_acme.sql
diff --git a/traffic_ops/app/db/migrations/2020121800000000_add_max_request_header_size_delivery_service.sql b/traffic_ops/app/db/migrations/2021010900000002_add_max_request_header_size_delivery_service.sql
similarity index 100%
rename from traffic_ops/app/db/migrations/2020121800000000_add_max_request_header_size_delivery_service.sql
rename to traffic_ops/app/db/migrations/2021010900000002_add_max_request_header_size_delivery_service.sql
diff --git a/traffic_ops/app/db/migrations/2021010600000000_server_interface_ip_address_cascade.sql b/traffic_ops/app/db/migrations/2021010900000003_server_interface_ip_address_cascade.sql
similarity index 100%
rename from traffic_ops/app/db/migrations/2021010600000000_server_interface_ip_address_cascade.sql
rename to traffic_ops/app/db/migrations/2021010900000003_server_interface_ip_address_cascade.sql