Skip to content

Commit

Permalink
Update participants table #39
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts authored Feb 26, 2021
1 parent f8954f3 commit 1602d93
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ public function up()
{
Schema::create('participants', function (Blueprint $table) {
$table->id();
$table->foreignIdFor(app('user'))->nullable()->index();
$table->string('email')->unique();
$table->string('name')->nullable(); // first name
$table->string('name_last')->nullable();
$table->date('dob')->nullable(); // date of birth
$table->morphs('user')->nullable();
$table->string('email')->nullable();
$table->string('first_name')->nullable();
$table->string('last_name')->nullable();
$table->date('birth_date')->nullable();
$table->tinyInteger('is_verified')->nullable();
$table->softDeletes(); // Soft delete if the participant email address bounces
$table->timestamps();
});
Expand Down

0 comments on commit 1602d93

Please sign in to comment.