Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01: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 {
type User struct {
ID int64 `xorm:"pk autoincr"`
Pronouns string
}