我已将默认 ssh 端口从 22 更改为 2233,但是当我想通过 ssh 从 gitlab 克隆项目时,它不起作用。
ssh: connect to host gitlab.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)
编辑:我也将 2233 更改为 22,但它根本没有改变。
我已将表中的主键从 id 更改为 pr_id 和 mobile。
$table->primary(['pr_id' , 'mobile']);
Run Code Online (Sandbox Code Playgroud)
我还在模型中添加了 SoftDelete Trait。但是当我想删除一条记录时却不起作用。