Skip to content

Commit

Permalink
Merge pull request #270 from ImMin5/feature-service-accont-auto-sync
Browse files Browse the repository at this point in the history
Fix max length of project name
  • Loading branch information
ImMin5 authored Apr 22, 2024
2 parents 492b0d0 + b447236 commit c617405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spaceone/identity/model/project/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
Expand Down

0 comments on commit c617405

Please sign in to comment.