Remove reqidstatus column

This commit is contained in:
DariusIII
2025-08-22 15:51:47 +02:00
parent 958177f51e
commit 1710400b12
2 changed files with 28 additions and 1 deletions
-1
View File
@@ -373,7 +373,6 @@ class NZBImport
'size' => $nzbDetails['totalSize'],
'categories_id' => $determinedCategory['categories_id'],
'isrenamed' => $renamed,
'reqidstatus' => 0,
'predb_id' => 0,
'nzbstatus' => NZB::NZB_ADDED,
'ishashed' => 0,
@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('releases', function (Blueprint $table) {
$table->dropColumn('reqidstatus');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('releases', function (Blueprint $table) {
$table->tinyInteger('reqidstatus')->default(0);
});
}
};