fix tenant scoping for group business tables
This commit is contained in:
@@ -118,6 +118,7 @@ type GroupMemberListOptions struct {
|
||||
}
|
||||
|
||||
type GroupInvitation struct {
|
||||
TenantID TenantID `db:"tenant_id"`
|
||||
ID int64 `db:"id"`
|
||||
InvitationID string `db:"invitation_id"`
|
||||
Topic string `db:"topic"`
|
||||
@@ -137,6 +138,7 @@ type GroupInvitation struct {
|
||||
}
|
||||
|
||||
type GroupJoinRequest struct {
|
||||
TenantID TenantID `db:"tenant_id"`
|
||||
ID int64 `db:"id"`
|
||||
RequestID string `db:"request_id"`
|
||||
Topic string `db:"topic"`
|
||||
@@ -160,6 +162,7 @@ type GroupJoinRequest struct {
|
||||
}
|
||||
|
||||
type GroupAnnouncement struct {
|
||||
TenantID TenantID `db:"tenant_id"`
|
||||
ID int64 `db:"id"`
|
||||
AnnouncementID string `db:"announcement_id"`
|
||||
Topic string `db:"topic"`
|
||||
@@ -177,6 +180,7 @@ type GroupAnnouncement struct {
|
||||
}
|
||||
|
||||
type GroupMute struct {
|
||||
TenantID TenantID `db:"tenant_id"`
|
||||
Topic string `db:"topic"`
|
||||
UserID Uid `db:"-"`
|
||||
MutedBy Uid `db:"-"`
|
||||
@@ -195,6 +199,7 @@ type GroupMute struct {
|
||||
}
|
||||
|
||||
type GroupFile struct {
|
||||
TenantID TenantID `db:"tenant_id"`
|
||||
ID int64 `db:"id"`
|
||||
GroupFileID string `db:"group_file_id"`
|
||||
Topic string `db:"topic"`
|
||||
|
||||
Reference in New Issue
Block a user