The rarbg dump contains multiple movies and tv categories which are unique entries. The current insert command only grabs the categories "movies" and "tv" but not the multiple movies*** and tv*** categories.
This command will also skip duplicates, so the SQL command won't error out and can be run on an existing database. Duplicate check is based on the hash of the specific torrent.
In a recent PR this part of the command: "createdAt", "updatedAt") was changed for \"createdAt\", \"updatedAt\").
For me this new command will error out on this change, but maybe it works for others. In this PR I've reverted this change since that has been working before.
The rarbg dump contains multiple movies and tv categories which are unique entries. The current insert command only grabs the categories "movies" and "tv" but not the multiple movies*** and tv*** categories.
This command will also skip duplicates, so the SQL command won't error out and can be run on an existing database. Duplicate check is based on the hash of the specific torrent.
In a recent PR this part of the command:
"createdAt", "updatedAt")
was changed for\"createdAt\", \"updatedAt\")
. For me this new command will error out on this change, but maybe it works for others. In this PR I've reverted this change since that has been working before.