Skip to content

Commit

Permalink
Update audits.stub
Browse files Browse the repository at this point in the history
enhanced auditable_id to be string instead of int
  • Loading branch information
MahammadBaghirzada committed Jan 13, 2025
1 parent 559b391 commit 36330ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/audits.stub
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CreateAuditsTable extends Migration

$table->bigIncrements('id');
$table->string($morphPrefix . '_type')->nullable();
$table->unsignedBigInteger($morphPrefix . '_id')->nullable();
$table->string($morphPrefix . '_id')->nullable();
$table->string('event');
$table->morphs('auditable');
$table->text('old_values')->nullable();
Expand Down

0 comments on commit 36330ee

Please sign in to comment.