Skip to content

Commit

Permalink
wip group membership
Browse files Browse the repository at this point in the history
  • Loading branch information
TLGINO committed Apr 19, 2023
1 parent 06bd6fc commit 146bd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_communities/members/records/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def user_id(cls):
def group_id(cls):
"""Foreign key to the related group."""
return db.Column(
db.Integer(),
db.String(80),
db.ForeignKey(Role.id, ondelete="RESTRICT"),
nullable=True,
)
Expand Down

0 comments on commit 146bd1b

Please sign in to comment.