Skip to content

Commit

Permalink
create region (#4620)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 committed Mar 22, 2024
1 parent 0d9d19d commit cda0c5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controllers/pkg/types/global.go
Expand Up @@ -37,10 +37,10 @@ func (Account) TableName() string {

type Region struct {
UID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid();primary_key"`
DisplayName string `gorm:"type:text"`
Location string `gorm:"type:text"`
Domain string `gorm:"type:text;not null;unique"`
Description string `gorm:"type:text"`
DisplayName string `gorm:"column:displayName;type:text"`
Location string `gorm:"column:location;type:text"`
Domain string `gorm:"column:domain;type:text;not null;unique"`
Description string `gorm:"column:description;type:text"`
}

// RegionUserCr is located in the region
Expand Down

0 comments on commit cda0c5c

Please sign in to comment.