diff --git a/database/migrations/2024_07_13_090447_create_fathers_table.php b/database/migrations/2024_07_13_090447_create_fathers_table.php index 71583bd..80cb3fd 100644 --- a/database/migrations/2024_07_13_090447_create_fathers_table.php +++ b/database/migrations/2024_07_13_090447_create_fathers_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class extends Migration +class CreateFathersTable extends Migration { public function up(): void { @@ -17,7 +17,6 @@ public function up(): void $table->timestamps(); // created_at, updated_at => ignored because they are nullable $table->softDeletes(); // deleted_at => ignored because it is nullable }); - } public function down(): void diff --git a/database/migrations/2024_07_13_093048_create_mothers_table.php b/database/migrations/2024_07_13_093048_create_mothers_table.php index e618bca..1e6ee93 100644 --- a/database/migrations/2024_07_13_093048_create_mothers_table.php +++ b/database/migrations/2024_07_13_093048_create_mothers_table.php @@ -6,7 +6,7 @@ use Illuminate\Support\Facades\Schema; use WatheqAlshowaiter\ModelRequiredFields\Constants; -return new class extends Migration +class CreateMothersTable extends Migration { public function up(): void { diff --git a/database/migrations/2024_07_13_100247_create_sons_table.php b/database/migrations/2024_07_13_100247_create_sons_table.php index 0593c5a..f694057 100644 --- a/database/migrations/2024_07_13_100247_create_sons_table.php +++ b/database/migrations/2024_07_13_100247_create_sons_table.php @@ -6,7 +6,7 @@ use Illuminate\Support\Facades\Schema; use WatheqAlshowaiter\ModelRequiredFields\Constants; -return new class extends Migration +class CreateSonsTable extends Migration { public function up(): void {