- add notes

This commit is contained in:
2023-08-01 23:54:03 +02:00
parent 908b1e4bec
commit 2349008131
8 changed files with 67 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
<?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->text('notes')->nullable();
});
}
public function down(): void
{
Schema::table('cvs', function (Blueprint $table) {
$table->dropColumn('notes');
});
}
};