mirror of
1
Fork 0

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
1 changed files with 1 additions and 0 deletions

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
} }