Hi i have this structure in my column jsonb in postgres
offer_profile_id (PK, FK): bigint
website_id (PK, FK): bigint
offer_profile_website_detail: jsonb {
display_vat_included: boolean
available_services: [{
service_id: long
included_by_default: boolean
extra_service : boolean
}]
}
I'm trying to add a new attribute named is_active: boolean inside the available_services.
The problem is that the table named "offer_profile", full of data with many rows and which can take a long time to write the insert into "offer_profile" VALUES script.
I'm looking for a dynamic way to update my table.
Regards
