Skip to content

Commit

Permalink
Merge pull request #268 from ImMin5/feature-service-accont-auto-sync
Browse files Browse the repository at this point in the history
Modify max length of project and project group name
  • Loading branch information
ImMin5 authored Apr 22, 2024
2 parents 4d9f527 + 8710785 commit e3aa03a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spaceone/identity/model/project/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class Project(MongoModel):
project_id = StringField(max_length=40, generate_id="project", unique=True)
project_id = StringField(max_length=255, generate_id="project", unique=True)
name = StringField(max_length=40)
project_type = StringField(
max_length=20, default="PRIVATE", choices=("PRIVATE", "PUBLIC")
Expand Down
2 changes: 1 addition & 1 deletion src/spaceone/identity/model/project_group/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class ProjectGroup(MongoModel):
project_group_id = StringField(max_length=40, generate_id="pg", unique=True)
name = StringField(max_length=40)
name = StringField(max_length=255)
tags = DictField(default=None)
users = ListField(StringField(max_length=255), default=None)
reference_id = StringField(max_length=255, default=None, null=True)
Expand Down

0 comments on commit e3aa03a

Please sign in to comment.