diff --git a/src/spaceone/identity/model/project/database.py b/src/spaceone/identity/model/project/database.py index 4e955e03..aaa8e6e6 100644 --- a/src/spaceone/identity/model/project/database.py +++ b/src/spaceone/identity/model/project/database.py @@ -3,8 +3,8 @@ class Project(MongoModel): - project_id = StringField(max_length=255, generate_id="project", unique=True) - name = StringField(max_length=40) + project_id = StringField(max_length=40, generate_id="project", unique=True) + name = StringField(max_length=255) project_type = StringField( max_length=20, default="PRIVATE", choices=("PRIVATE", "PUBLIC") )