Added settings to User schema
This commit is contained in:
@@ -67,6 +67,15 @@ users_schema = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'settings': {
|
||||||
|
'type': 'dict',
|
||||||
|
'schema': {
|
||||||
|
'email_communications': {
|
||||||
|
'type': 'integer',
|
||||||
|
'allowed': [0, 1]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user