sharing: write properties in db on create
This commit is contained in:
@@ -266,7 +266,9 @@ class Sharing(sharing.BaseSharing):
|
|||||||
"HiddenByOwner": HiddenByOwner,
|
"HiddenByOwner": HiddenByOwner,
|
||||||
"HiddenByUser": HiddenByUser,
|
"HiddenByUser": HiddenByUser,
|
||||||
"TimestampCreated": Timestamp,
|
"TimestampCreated": Timestamp,
|
||||||
"TimestampUpdated": Timestamp}
|
"TimestampUpdated": Timestamp,
|
||||||
|
"Properties": Properties}
|
||||||
|
|
||||||
if logger.isEnabledFor(logging.DEBUG):
|
if logger.isEnabledFor(logging.DEBUG):
|
||||||
logger.debug("TRACE/sharing/*/create: add row: %r", row)
|
logger.debug("TRACE/sharing/*/create: add row: %r", row)
|
||||||
self._sharing_cache.append(row)
|
self._sharing_cache.append(row)
|
||||||
|
|||||||
@@ -244,7 +244,8 @@ class Sharing(sharing.BaseSharing):
|
|||||||
"HiddenByOwner": HiddenByOwner,
|
"HiddenByOwner": HiddenByOwner,
|
||||||
"HiddenByUser": HiddenByUser,
|
"HiddenByUser": HiddenByUser,
|
||||||
"TimestampCreated": Timestamp,
|
"TimestampCreated": Timestamp,
|
||||||
"TimestampUpdated": Timestamp}
|
"TimestampUpdated": Timestamp,
|
||||||
|
"Properties": Properties}
|
||||||
|
|
||||||
version = DB_VERSION
|
version = DB_VERSION
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user