From 09fcd501bd7ce5fc9e3d22631075f721c85e87b1 Mon Sep 17 00:00:00 2001 From: mojahidjouel Date: Sat, 2 Dec 2023 11:56:28 +0600 Subject: [PATCH] student data base change --- .../migrations/2023_11_25_034933_create_students_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2023_11_25_034933_create_students_table.php b/database/migrations/2023_11_25_034933_create_students_table.php index f88aa76..e282e88 100644 --- a/database/migrations/2023_11_25_034933_create_students_table.php +++ b/database/migrations/2023_11_25_034933_create_students_table.php @@ -15,8 +15,8 @@ public function up(): void $table->id(); $table->string('name_en'); $table->string('name_bn')->nullable(); - $table->string('contact_en')->unique(); - $table->string('contact_bn')->unique()->nullable(); + $table->string('contact_en')->nullable(); + $table->string('contact_bn')->nullable(); $table->string('email')->unique(); $table->date('date_of_birth')->nullable(); $table->enum('gender', ['male', 'female', 'other'])->nullable();