Skip to content

Commit

Permalink
Merging master into develop (#39)
Browse files Browse the repository at this point in the history
* 2.1.0. Force/Soft Deleting rows (#36)

* feat: added a possibility to delete/force delete rows

* Fix updated timestamp not being updated (#37)

---------

Co-authored-by: John Ryan Camatog <john.ryan.camatog@gmail.com>
  • Loading branch information
lapaliv and d3radicated authored Dec 10, 2023
1 parent b67396c commit 9cdb0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ private function convertRowToModel(mixed $row): Model

if ($result->usesTimestamps()) {
$createdAt = $result->getCreatedAtColumn();
$updatedAt = $result->getCreatedAtColumn();
$updatedAt = $result->getUpdatedAtColumn();

if (array_key_exists($createdAt, $row)) {
$result->{$createdAt} = $row[$createdAt];
Expand Down

0 comments on commit 9cdb0ec

Please sign in to comment.