unsuitable001
01/01/2022, 12:20 PMtourdownunder
01/01/2022, 1:19 PMtourdownunder
01/01/2022, 1:25 PMarray_append
as per https://www.postgresql.org/docs/14/functions-array.html
You can create a rpc
and use these functions.
Though I'm quite sure postgres is going to rewrite the whole field when you update using these functions and this is why a rethink of schema as per my first point is preferred.