This commit is contained in:
DariusIII
2024-03-19 20:17:52 +01:00
parent 224862f705
commit bbcbcbb088
+1
View File
@@ -43,6 +43,7 @@ class NntmuxResetDb extends Command
// Allow database reset only if app environment is local
if (app()->environment() !== 'local') {
$this->error('This command can only be run in local environment');
return;
}
if ($this->confirm('This script removes all releases, nzb files, samples, previews , nfos, truncates all article tables and resets all groups. Are you sure you want reset the DB?')) {