Skip to content

Drop clusters_applications_knative table

Hunter Stewart requested to merge hustewart-drop-knative into master

We're cleaning up the deprecated Clusters::Applications code related to Remove clusters_applications_* code (#366573 - closed)

Application code that used this table was removed in Clusters::Applications models removal (#388696 - closed)

In !117460 (merged) we dropped the foreign keys. This was in post deploy migration that has been run.

This MR's purpose is to

  • drop the clusters_applications_knative table
  • move the dictionary files per these instructions

For transparency, this was originally part of a single MR that drops many clusters_applications* tables, but sensing some concern around this I have split them into individual MRs.

Table usage

Thanos Query showing table usage.

Migration output

main: == [advisory_lock_connection] object_id: 275140, pg_backend_pid: 30934
main: == 20230503152349 DropClustersApplicationsKnative: migrating ==================
main: -- drop_table(:clusters_applications_knative)
main:    -> 0.0036s
main: == 20230503152349 DropClustersApplicationsKnative: migrated (0.0083s) =========

main: == [advisory_lock_connection] object_id: 275140, pg_backend_pid: 30934
ci: == [advisory_lock_connection] object_id: 275340, pg_backend_pid: 30936
ci: == 20230503152349 DropClustersApplicationsKnative: migrating ==================
ci: -- drop_table(:clusters_applications_knative)
ci:    -> 0.0014s
ci: == 20230503152349 DropClustersApplicationsKnative: migrated (0.0081s) =========

ci: == [advisory_lock_connection] object_id: 275340, pg_backend_pid: 30936

Merge request reports

Loading