Skip to content

Commit c464d07

Browse files
authored
Update participant email #39
1 parent 868adda commit c464d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2020_05_11_100000_create_participants_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function up()
1313
Schema::create('participants', function (Blueprint $table) {
1414
$table->id();
1515
$table->morphs('user')->nullable();
16-
$table->string('email')->nullable();
16+
$table->string('email')->unique();
1717
$table->string('first_name')->nullable();
1818
$table->string('last_name')->nullable();
1919
$table->date('birth_date')->nullable();

0 commit comments

Comments
 (0)