sharing: write properties in db on create

This commit is contained in:
Peter Bieringer
2026-03-21 08:45:11 +01:00
parent a5e373c8c1
commit a71689772f
2 changed files with 5 additions and 2 deletions

View File

@@ -266,7 +266,9 @@ class Sharing(sharing.BaseSharing):
"HiddenByOwner": HiddenByOwner,
"HiddenByUser": HiddenByUser,
"TimestampCreated": Timestamp,
"TimestampUpdated": Timestamp}
"TimestampUpdated": Timestamp,
"Properties": Properties}
if logger.isEnabledFor(logging.DEBUG):
logger.debug("TRACE/sharing/*/create: add row: %r", row)
self._sharing_cache.append(row)

View File

@@ -244,7 +244,8 @@ class Sharing(sharing.BaseSharing):
"HiddenByOwner": HiddenByOwner,
"HiddenByUser": HiddenByUser,
"TimestampCreated": Timestamp,
"TimestampUpdated": Timestamp}
"TimestampUpdated": Timestamp,
"Properties": Properties}
version = DB_VERSION