Migrate User.Update method to sync by default (#10942)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8e6a158449
Коммит
fb237cc624
@@ -87,6 +87,11 @@ type User struct {
|
||||
TermsOfServiceCreateAt int64 `db:"-" json:"terms_of_service_create_at,omitempty"`
|
||||
}
|
||||
|
||||
type UserUpdate struct {
|
||||
Old *User
|
||||
New *User
|
||||
}
|
||||
|
||||
type UserPatch struct {
|
||||
Username *string `json:"username"`
|
||||
Password *string `json:"password,omitempty"`
|
||||
|
||||
Ссылка в новой задаче
Block a user