blakejia
blakejia
 这种乱序对查看数据很不友好!麻烦了
\[Bug\]: "Closed registration + email invitation" flow is broken — invitation links always route to /auth/sign-in (OTP login), not /auth/sign-up, so new invitees can never register ## Bug Description When...
[Bug]: File upload fails for files without a standard MIME type (.conf/.log/.md etc.) — contentType sent as empty string ## Bug Description When uploading a file whose MIME type the...
The issue will be closed without any reasons if it does not satisfy any of following requirements: 1. Please speak English, we have forum in [Chinese](https://discuss.gogs.io/c/getting-help/getting-help-chinese). 2. Please post questions...
go version: go1.14.7 gorm v2: 0.2.31 db: postgresql 12.4 ``` golang type TestTable struct { gorm.Model Address string `gorm:"unique_index:address_type_user"` Type string `gorm:"unique_index:address_type_user"` } ``` ```golang error1 := db.AutoMigrate( TestTable{}, )...
## GORM Playground Link https://github.com/go-gorm/playground/pull/77 ## Description go version: go1.14.7 gorm v2: 0.2.31 db: postgresql 12.4 ``` golang type TestTable struct { Address string `gorm:"unique_index:address_type_user"` Type string `gorm:"unique_index:address_type_user"` } ```...
## GORM Playground Link https://github.com/go-gorm/playground/pull/127 ## Description postgres version : 12.4 ``` golang type UserWithJSON struct { gorm.Model Name string Attributes datatypes.JSON } tx.AutoMigrate(&UserWithJSON{}) err = tx.Create(&UserWithJSON{ Name: "json-1", Attributes:...
## GORM Playground Link https://github.com/go-gorm/playground/pull/158 ## Description When I used TablePrefix to select the schema in Postgres, I found that the index conflicted with TablePrefix.
## GORM Playground Link https://github.com/go-gorm/playground/pull/179 ## Description ``` golang type UserWithUUID struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time TestID *uuid.UUID `gorm:"type:uuid"` } value := UserWithUUID{} createErr := DB.Save(&value).Error...