feat(csv-import): Implement SAVEPOINT handling for vitals baseline import
- Updated the CSV import logic to include SAVEPOINT management, allowing for better error handling during the vitals baseline import process. - Enhanced the SQL migration script to drop existing CHECK constraints related to the 'source' field, ensuring compatibility with the new universal CSV import. - Incremented DB_SCHEMA_VERSION to "20260409c" to reflect these changes and improve the import process reliability.
This commit is contained in:
1 parent
e60976e1cc
commit
5a0c71dd90
5 files changed
+52
-4
No files matched your search
@@ -477,6 +477,7 @@ async def csv_import_execute(
|
||||
m,
|
||||
)
|
||||
except Exception as exec_err:
|
||||
logger.exception("Universal-CSV-Import fehlgeschlagen: %s", exec_err)
|
||||
cur.execute("ROLLBACK TO SAVEPOINT csv_import_exec")
|
||||
cur.execute(
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user