diff --git a/pkg/plugins/resources/postgres/migrations/data/1701180642_add_labels.up.sql b/pkg/plugins/resources/postgres/migrations/data/1701180642_add_labels.up.sql index 9279457eec86..67d9f0aa686f 100644 --- a/pkg/plugins/resources/postgres/migrations/data/1701180642_add_labels.up.sql +++ b/pkg/plugins/resources/postgres/migrations/data/1701180642_add_labels.up.sql @@ -1 +1 @@ -ALTER TABLE resources ADD COLUMN labels JSONB; +ALTER TABLE resources ADD COLUMN labels JSONB DEFAULT '{}'::jsonb;