Expected behaviour with Arrow Builder schema change on existing ArrowDB records?

32 views Asked by At

I'm in the process of building a custom ArrowDB model through Arrow Builder and have published it using "appc publish" - let's call this schema "v1". I inserted a record into my custom "Customers" table after first publishing it. Later on, I added a new photo_id field to the Customers model - let's call this schema "v2" - and published again, forcing an overwrite of the existing model.

Now, when I try to issue an Update (through the generated API for Customers) to the existing record to add a value for photo_id, I get a 204 response from the call, but the photo_id value is not updated. If I add a new record at this point, I can add and update the photo_id with no problem.

So my question is - is this expected behaviour? If so, how do I update all the v1 records to the new v2 schema?

0

There are 0 answers