From 6bd75b8a26911fbefe70522963f6c649bb38b865 Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 16 Sep 2024 17:06:55 +0100 Subject: [PATCH] remove added but-commented-out field --- internal/gtsmodel/list.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/gtsmodel/list.go b/internal/gtsmodel/list.go index 09c76daa6..e3b9f9a30 100644 --- a/internal/gtsmodel/list.go +++ b/internal/gtsmodel/list.go @@ -37,9 +37,8 @@ type ListEntry struct { CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item created UpdatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item last updated ListID string `bun:"type:CHAR(26),notnull,nullzero,unique:listentrylistfollow"` // ID of the list that this entry belongs to. - // List *List `bun:"-"` // - FollowID string `bun:"type:CHAR(26),notnull,nullzero,unique:listentrylistfollow"` // Follow that the account owning this entry wants to see posts of in the timeline. - Follow *Follow `bun:"-"` // Follow corresponding to followID. + FollowID string `bun:"type:CHAR(26),notnull,nullzero,unique:listentrylistfollow"` // Follow that the account owning this entry wants to see posts of in the timeline. + Follow *Follow `bun:"-"` // Follow corresponding to followID. } // RepliesPolicy denotes which replies should be shown in the list.