From 50028636792815f38c365b561a9908ab9d2da1a6 Mon Sep 17 00:00:00 2001 From: ayame-git Date: Tue, 9 May 2017 05:45:25 +0300 Subject: [PATCH] autism 2 electric boogaloo --- model/torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/torrent.go b/model/torrent.go index 1cc0b7f2..0cd1f1cc 100644 --- a/model/torrent.go +++ b/model/torrent.go @@ -23,7 +23,7 @@ type Torrents struct { Id uint `gorm:"column:torrent_id;primary_key"` Name string `gorm:"column:torrent_name"` Hash string `gorm:"column:torrent_hash"` - Category int `gorm:"column:category_od"` + Category int `gorm:"column:category_id"` Sub_Category int `gorm:"column:sub_category_id"` Status int `gorm:"column:status_id"` Date time.Time `gorm:"column:date"`