From 1e83b4c5d80cea2cfcfb6df84519fa3e09df9d74 Mon Sep 17 00:00:00 2001 From: iPromKnight <156901906+iPromKnight@users.noreply.github.com> Date: Fri, 29 Mar 2024 19:08:17 +0000 Subject: [PATCH] Patch the addon (#185) --- src/addon/src/lib/repository.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/addon/src/lib/repository.js b/src/addon/src/lib/repository.js index 3e3298b..cd38dba 100644 --- a/src/addon/src/lib/repository.js +++ b/src/addon/src/lib/repository.js @@ -14,13 +14,12 @@ const Torrent = database.define('torrent', { infoHash: { type: Sequelize.STRING(64), primaryKey: true }, provider: { type: Sequelize.STRING(32), allowNull: false }, - torrentId: { type: Sequelize.STRING(128) }, + ingestedTorrentId: { type: Sequelize.BIGINT, allowNull: false }, title: { type: Sequelize.STRING(256), allowNull: false }, size: { type: Sequelize.BIGINT }, type: { type: Sequelize.STRING(16), allowNull: false }, uploadDate: { type: Sequelize.DATE, allowNull: false }, seeders: { type: Sequelize.SMALLINT }, - trackers: { type: Sequelize.STRING(4096) }, languages: { type: Sequelize.STRING(4096) }, resolution: { type: Sequelize.STRING(16) } }