I am trying to add a json type column to the table, but it doesn’t work and I cannot get normal examples, what am I doing wrong?
ALTER TABLE user ADD COLUMN purshased_product SET DATA TYPE JSONB USING purshased_product::JSONB;
I'm not trying to change the column, but just create a new one with json type
@Convert(converter = PurshasedProductConverter.class)
private PurshasedProductConverter[] purshasedProducts;
my variable