I have some problem with laravel app. I'm trying to insert some info in database, and it works fine, untill I have addded a new row 'ip_address'. Ip address is defined as varchar(255) and everything is storing except address. What could be the problem? This is the code
public static function log(string $message, string $action, string $request)
{
return Log::create(['user_id' => Auth::id() , 'log_message' => $message, 'action' => $action, 'ip_address' => '212.91.176.38', 'log_type' => 'log', 'request' => $request]);
}
$fillablearray on the model? since you are using mass assignment