Award Checks Update (#1376)

Add active/passive check for awards and update the handler to pass only active ones to the process when needed.
This commit is contained in:
B.Fatih KOZ
2022-01-10 23:49:50 +03:00
committed by GitHub
parent 023313c681
commit 09453becf8
6 changed files with 76 additions and 54 deletions

View File

@@ -0,0 +1,15 @@
<?php
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateAwardsAddActive extends Migration
{
public function up()
{
Schema::table('awards', function (Blueprint $table) {
$table->boolean('active')->default(true)->nullable()->after('ref_model_params');
});
}
}