-
I can't logged my update records, any ideas? Did i miss something? Here's my code.
protected $table='products';
protected $fillable=[
'name', 'size', 'width', 'length', 'capital_price', 'sell_price', 'batch', 'status', 'user_id'
];
protected static $logAttributes = ['name', 'size', 'width', 'length', 'capital_price', 'sell_price', 'batch', 'status', 'user_id'];
protected static $logOnlyDirty = true; // record only updated items
public function index()
{
$activity = Activity::all()->last();
return response([
'success' => true,
'message' => 'All Activity',
'data' => $activity
], 200);
} |
Beta Was this translation helpful? Give feedback.
Answered by
Gummibeer
Jan 11, 2021
Replies: 2 comments 2 replies
-
Hey, |
Beta Was this translation helpful? Give feedback.
1 reply
-
same as #830 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Gummibeer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
same as #830