plugin management + user tables and torrents table text column migrate

This commit is contained in:
xiaomlove
2025-01-19 14:37:00 +08:00
parent 0f88ab8d82
commit 403a9447a9
66 changed files with 1432 additions and 786 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Nexus\Database\NexusDB;
class TorrentExtra extends NexusModel
{
public $timestamps = true;
protected $fillable = ['torrent_id', 'descr', 'ori_descr', 'media_info'];
public function torrent()
{
return $this->belongsTo(Torrent::class, 'torrent_id');
}
}