Commit Graph
8 Commits
Author SHA1 Message Date
c6fbf5543b 599 add row versioning to backend tables (#710)
* fix: isolation level and nested db.commit() with retry wrappers on concurrent update errors

* refactor: incorporated review comments

changes decorator methods to managed_tx_method and async_managed_tx_method
new enum CommitMode
removed commented commit() from the previous commits

* fix: merge pre-commit errors

* fix: merge pre-commit changes

* fix: conflict in existing OasstErrorCode

* refactor: Added a refresh just to be sure that the select command is triggered on the mapped object

* fix: added refresh for async decorator

Co-authored-by: James Melvin <melvin@gameface.ai>
2023-01-16 08:43:07 +01:00
Gareth Davidson 7000e10bc0 apply pre-commit rules 2023-01-02 00:01:45 +00:00
Igor MiagkovandAndreas Köpf f126b21bb3 adjust names and types to new naming 2022-12-31 10:31:31 +01:00
Andreas KöpfandAndreas Köpf 8b225430a4 BREAKING-CHANGES: Renaming several models/database objects + API protocol
person -> user
work_package -> task
post -> message
thread -> message_tree
2022-12-31 00:18:55 +01:00
alexandrelefournerandAndreas Köpf 35e0c32a08 Updating work_package to task 2022-12-31 00:18:55 +01:00
alexandrelefournerandAndreas Köpf 7743459220 Renaming post to message 2022-12-31 00:18:55 +01:00
alexandrelefournerandAndreas Köpf 9a1a4876f0 Rename of person to user 2022-12-31 00:18:55 +01:00
Andreas KöpfandAndreas Köpf f74fe68f87 add journal table and JournalWriter helper class 2022-12-27 22:37:48 +01:00