On 2018-09-01 00:33, Prakash Pandey wrote:
> I am not sure. If we delete xml record, model data db_id is null? Will it not be a problem?
I do not see where the db_id will be updated to null.
It will not be a problem as long as the id is not reused. For PostgreSQL
it is sure because we use sequence but for SQLite it is not sure because
if I remember correctly it take the max(id) + 1.
So maybe the id should be set to null to avoid to update the wrong