aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/db/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/db/models.go')
-rw-r--r--backend/db/models.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/backend/db/models.go b/backend/db/models.go
index 81fcd0c..e397102 100644
--- a/backend/db/models.go
+++ b/backend/db/models.go
@@ -4,10 +4,6 @@
package db
-import (
- "database/sql"
-)
-
type Article struct {
ID int64
FeedID int64
@@ -23,7 +19,7 @@ type Feed struct {
Title string
FetchedAt string
IsSubscribed int64
- UserID sql.NullInt64
+ UserID int64
}
type User struct {