小编ali*_*ati的帖子

gitlab错误连接到主机gitlab.com端口22:连接超时

我已将默认 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,但它根本没有改变。

ssh gitlab

6
推荐指数
1
解决办法
7667
查看次数

当我在 Laravel 中更改主键时,SoftDelete 不起作用

我已将表中的主键从 id 更改为 pr_id 和 mobile。


$table->primary(['pr_id' , 'mobile']);

Run Code Online (Sandbox Code Playgroud)

我还在模型中添加了 SoftDelete Trait。但是当我想删除一条记录时却不起作用。

laravel

5
推荐指数
1
解决办法
327
查看次数

标签 统计

gitlab ×1

laravel ×1

ssh ×1