mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-04 05:42:15 +08:00
This was a technical debt left from the launch of CCM for automatic service to LB port mapping. We were using name and project queries to reference the load balancer created for serving user services. The field will be backfilled manually after deployment.
9 lines
200 B
Ruby
9 lines
200 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:kubernetes_cluster) do
|
|
add_foreign_key :services_lb_id, :load_balancer, type: :uuid, null: true
|
|
end
|
|
end
|
|
end
|