Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Add row-versioning to backend tables

Open andreaskoepf opened this issue 2 years ago • 1 comments

Add simple version counting to the backend tables task, text_labels, message & message_tree_state.

@melvinebenezer

andreaskoepf avatar Jan 10 '23 16:01 andreaskoepf

will take this up

melvinebenezer avatar Jan 10 '23 16:01 melvinebenezer

Since this seems not to be possible with SQLModel currently I propose that we use REPEATABLE READ isolation model and later implement a retry logic for our transactions.

andreaskoepf avatar Jan 11 '23 18:01 andreaskoepf

implemented via #710

andreaskoepf avatar Jan 17 '23 06:01 andreaskoepf