🆕 feat(project): add website field and validation for project proposals form

This commit is contained in:
fsociety
2024-10-24 17:40:51 +02:00
parent 5c4f9b6371
commit 6db38d08f5
4 changed files with 58 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
<?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('project_proposals', function (Blueprint $table) {
$table->string('website')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('project_proposals', function (Blueprint $table) {
//
});
}
};