mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove reqidstatus column
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user