- add send CV status

This commit is contained in:
2023-08-04 16:25:09 +02:00
parent 6a033d108c
commit 2a2869e2c6
10 changed files with 104 additions and 11 deletions

View File

@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('cvs', function (Blueprint $table) {
$table->boolean('sended')->nullable()->default(false)->after('views');
$table->timestamp('sended_timestamp')->nullable()->after('sended');
});
}
public function down(): void
{
Schema::table('cvs', function (Blueprint $table) {
$table->dropColumn('sended');
$table->dropColumn('sended_timestamp');
});
}
};