Skip to content

Commit

Permalink
add log type to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Anderson committed Feb 22, 2023
1 parent e6e3805 commit bfa46da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion database/migrations/create_logs_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ return new class extends Migration
Schema::create('logs', function (Blueprint $table) {
$table->id();

$table->morphs('loggable');
$table->morphs('loggable')->nullable();
$table->string('type')->nullable();
$table->longText('log')->nullable();

$table->timestamps();
Expand Down

0 comments on commit bfa46da

Please sign in to comment.