sharing: write properties in db on create
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -244,7 +244,8 @@ class Sharing(sharing.BaseSharing):
|
||||
"HiddenByOwner": HiddenByOwner,
|
||||
"HiddenByUser": HiddenByUser,
|
||||
"TimestampCreated": Timestamp,
|
||||
"TimestampUpdated": Timestamp}
|
||||
"TimestampUpdated": Timestamp,
|
||||
"Properties": Properties}
|
||||
|
||||
version = DB_VERSION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user