Skip to content

Commit

Permalink
Added deleted_at to read only columns
Browse files Browse the repository at this point in the history
  • Loading branch information
ablunier authored Oct 27, 2016
1 parent fcc311b commit ebb1252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Abstractor/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function getEditFields($withForeignKeys = false, $arrayKey = 'main')

protected function getReadOnlyColumns()
{
$columns = [LaravelModel::CREATED_AT, LaravelModel::UPDATED_AT];
$columns = [LaravelModel::CREATED_AT, LaravelModel::UPDATED_AT, 'deleted_at'];

$columns[] = $this->dbal->getModel()->getKeyName();

Expand Down

0 comments on commit ebb1252

Please sign in to comment.