Skip to content
Snippets Groups Projects
Commit 88f5793d authored by root's avatar root
Browse files

Update user model

parent 68f4b7c6
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -2,7 +2,6 @@ from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdPro
from uuid import uuid4
class User(StructuredNode):
# uuid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
name=StringProperty()
surname=StringProperty()
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment