0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

Add back ID field to pronouns migration

looks unnecessary, but not doing this seems to cause failed tests. Other previous migrations follow this pattern as well.
This commit is contained in:
hazycora 2024-02-24 15:26:18 -06:00
parent 75890e8f37
commit 8cbacf850a
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E

View file

@ -9,6 +9,7 @@ import (
func AddPronounsToUser(x *xorm.Engine) error { func AddPronounsToUser(x *xorm.Engine) error {
type User struct { type User struct {
ID int64 `xorm:"pk autoincr"`
Pronouns string Pronouns string
} }