diff --git a/node/pkg/admin/config/controller.go b/node/pkg/admin/config/controller.go index 82cf1ddc0..f52b0eeeb 100644 --- a/node/pkg/admin/config/controller.go +++ b/node/pkg/admin/config/controller.go @@ -153,7 +153,7 @@ func sync(ctx context.Context) error { } } - return db.BulkUpsert(ctx, "feeds", []string{"name", "definition", "config_id"}, upsertRows, []string{"name"}, []string{"definition", "config_id"}) + return db.BulkUpsert(ctx, "feeds", []string{"name", "definition", "config_id"}, upsertRows, []string{"name", "config_id"}, []string{"definition", "config_id"}) } func Insert(c *fiber.Ctx) error {