diff --git a/models/user/extended_profile.go b/models/user/extended_profile.go new file mode 100644 index 000000000..132d77eaf --- /dev/null +++ b/models/user/extended_profile.go @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: MIT + +package user + +import ( + "code.gitea.io/gitea/models/db" + "code.gitea.io/gitea/modules/timeutil" +) + +// User represents the object of individual and member of organization. +type ExtendedUserProfile struct { + ID int64 `xorm:"pk autoincr"` + Website string + UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"` + Pronouns string //haha >:333333 +} + +func init() { + db.RegisterModel(new(ExtendedUserProfile)) +}