Skip to content

Commit

Permalink
fix: fix max length of project name
Browse files Browse the repository at this point in the history
Signed-off-by: ImMin5 <[email protected]>
  • Loading branch information
ImMin5 committed Apr 22, 2024
1 parent 8710785 commit b447236
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 b447236

Please sign in to comment.