diff options
Diffstat (limited to 'internal/gtsmodel/thread.go')
| -rw-r--r-- | internal/gtsmodel/thread.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/gtsmodel/thread.go b/internal/gtsmodel/thread.go index 5d5af1993..34f921f8e 100644 --- a/internal/gtsmodel/thread.go +++ b/internal/gtsmodel/thread.go @@ -23,10 +23,3 @@ type Thread struct { ID string `bun:"type:CHAR(26),pk,nullzero,notnull,unique"` // id of this item in the database StatusIDs []string `bun:"-"` // ids of statuses belonging to this thread (order not guaranteed) } - -// ThreadToStatus is an intermediate struct to facilitate the -// many2many relationship between a thread and one or more statuses. -type ThreadToStatus struct { - ThreadID string `bun:"type:CHAR(26),unique:statusthread,nullzero,notnull"` - StatusID string `bun:"type:CHAR(26),unique:statusthread,nullzero,notnull"` -} |
