diff --git a/src/addon/src/lib/repository.js b/src/addon/src/lib/repository.js index 3e3298ba..cd38dba0 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) } }