More cleanup.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-01-30 16:10:28 -05:00
parent fe69042467
commit b1a53c76ee
4 changed files with 33 additions and 26 deletions

View File

@@ -1860,7 +1860,9 @@ class InvitedUser(db.Model):
)
permissions = db.Column(db.String, nullable=False)
auth_type = enum_column(AuthType, index=True, nullable=False, default=AuthType.SMS)
folder_permissions = db.Column(JSONB(none_as_null=True), nullable=False, default=list)
folder_permissions = db.Column(
JSONB(none_as_null=True), nullable=False, default=list
)
# would like to have used properties for this but haven't found a way to make them
# play nice with marshmallow yet