注:本问题与以下问题不重复:
production.ERROR: exception 'RuntimeException' with message 'No supportedThe cipher and / or key length are invalid.' in /home/coder/.local/share/Trash/files/myblog/vendor/laravel</e
我有一个带有组合键( user_id,category_id )的mysql表;我正在尝试更新这些记录的最后一次访问,如下所示$userCategory>last_access = Now();
{$userCategory->isNewRecord},当我尝试保存()时,MySQL会为复合主键生成一个重复的错误我也将此添加到UserCategory模型中,但没有帮助
public function pri