mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 02:47:27 +08:00
user add last_announce_at/seeding_torrent_count/seeding_torrent_size
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace App\Repositories;
|
||||
|
||||
class UpgradeRepository extends BaseRepository
|
||||
{
|
||||
const DATETIME_INVALID_VALUE_FIELDS = [
|
||||
'comments' => ['editdate'],
|
||||
'invites' => ['time_invited'],
|
||||
'offers' => ['allowedtime'],
|
||||
'peers' => ['last_action', 'prev_action'],
|
||||
'posts' => ['editdate'],
|
||||
'snatched' => ['last_action', 'completedat'],
|
||||
'torrents' => ['last_action', 'promotion_until', 'picktime', 'last_reseed'],
|
||||
'users' => [
|
||||
'last_login', 'last_access', 'last_home', 'last_offer', 'forum_access', 'last_staffmsg',
|
||||
'last_pm', 'last_comment', 'last_post', 'donoruntil', 'warneduntil', 'noaduntil', 'vip_until',
|
||||
'leechwarnuntil', 'lastwarned',
|
||||
],
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user