Merge pull request #11124 from ioito/automated-cherry-pick-of-#11123-upstream-release-3.7

Automated cherry pick of #11123: fix(region): project mapping optional
This commit is contained in:
yunion-ci-robot
2021-05-16 16:08:57 +08:00
committed by GitHub
@@ -32,7 +32,7 @@ import (
)
type SProjectMappingResourceBase struct {
ProjectMappingId string `width:"36" charset:"ascii" nullable:"false" create:"required" index:"true" list:"user" json:"project_mapping_id"`
ProjectMappingId string `width:"36" charset:"ascii" nullable:"false" create:"optional" index:"true" list:"user" json:"project_mapping_id"`
}
type SProjectMappingResourceBaseManager struct{}