fix torrents not creating because they are duplicates
This commit is contained in:
@@ -46,7 +46,7 @@ func (m *Model) Init() {
|
||||
m.db.MustExec(`CREATE TABLE IF NOT EXISTS torrents (
|
||||
id integer primary key,
|
||||
title varchar not null,
|
||||
guid varchar not null unique,
|
||||
guid varchar not null,
|
||||
indexer varchar not null,
|
||||
pubdate datetime not null,
|
||||
size integer not null,
|
||||
|
||||
Reference in New Issue
Block a user