Skip to content

Commit

Permalink
Allow nullable status creator for system updates #27
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts authored Mar 18, 2021
1 parent 74e0275 commit b339bb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
$table->foreignIdFor(app('status'))->index();
$table->morphs('statusable');
$table->string('type'); // Typically, full class name for model using status
$table->foreignIdFor(app('user'), 'creator_id');
$table->foreignIdFor(app('user'), 'creator_id')->nullable();
$table->timestamp('created_at');
});
}
Expand Down

0 comments on commit b339bb4

Please sign in to comment.