Skip to content

Commit

Permalink
PMM-5086-12634 Remove the forgotten comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Dec 10, 2024
1 parent 79b0116 commit 03ac18e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions managed/models/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,6 @@ var databaseSchema = [][]string{

`UPDATE agents SET postgresql_options = '{}'::jsonb WHERE postgresql_options IS NULL`,

// migrate values into new fields in options and drop original columns
`UPDATE agents SET exporter_options = jsonb_set(exporter_options, '{expose_exporter}', to_jsonb(expose_exporter));`,
`UPDATE agents SET exporter_options = jsonb_set(exporter_options, '{push_metrics}', to_jsonb(push_metrics));`,
`UPDATE agents SET exporter_options = jsonb_set(exporter_options, '{disabled_collectors}', to_jsonb(disabled_collectors));`,
Expand Down Expand Up @@ -1131,7 +1130,6 @@ var databaseSchema = [][]string{
`ALTER TABLE agents DROP COLUMN table_count`,
`ALTER TABLE agents DROP COLUMN table_count_tablestats_group_limit`,

// update settings -> encrypted items!!
`UPDATE settings SET settings = jsonb_set(settings, '{encrypted_items}',
'[
"pmm-managed.agents.username",
Expand Down

0 comments on commit 03ac18e

Please sign in to comment.