Skip to content

Commit

Permalink
feat: extend user with more meta fields
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankoehn committed Jan 7, 2025
1 parent ed26c4e commit e97f27a
Show file tree
Hide file tree
Showing 5 changed files with 14,161 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/collections/users/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ export const Users: CollectionConfig = {
hasMany: true,
required: true,
},
{
name: "bio",
type: "textarea",
},
{
name: "avatar",
type: "upload",
relationTo: "media",
},
],
timestamps: true,
};
Loading

0 comments on commit e97f27a

Please sign in to comment.