diff options
author | xengineering <me@xengineering.eu> | 2024-05-17 22:49:15 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-10-12 15:24:33 +0200 |
commit | 9d3a5fb85dc02e87fab879855c4c3bace5f753f2 (patch) | |
tree | fa56a768a78c07e65e1402f6413411ffd801d87a /model/database.go | |
parent | 6d59ff7a68af2823b5566dd24e3ff4aa77cbc5fe (diff) | |
download | ceres-9d3a5fb85dc02e87fab879855c4c3bace5f753f2.tar ceres-9d3a5fb85dc02e87fab879855c4c3bace5f753f2.tar.zst ceres-9d3a5fb85dc02e87fab879855c4c3bace5f753f2.zip |
model: Fix direct access to database
Instead a database transaction has to be used. Each database interaction
should be wrapped into a transaction to make sure any possible change
(even side-effects) can be rolled back in case of errors.
Diffstat (limited to 'model/database.go')
0 files changed, 0 insertions, 0 deletions