Tag: delete
-
Post Views: 19 1. In Laravel 6, after the model applies soft deletion, the record is inserted again, and the unique key conflicts. as shown in Figure 1 2. The reason is that after applying soft deletion, when you use the delete method on the model instance, the current date and time will be written to the deleted_at field. At…
-
Post Views: 16 1. In Windows 10, Git 2.34, and TortoiseGit 2.13, after the directory is renamed (the lowercase letters are changed to uppercase letters), there is no change when submitting. as shown in Figure 1 2. Manually rename it to small letters first, enter the directory after renaming, right-click – change the name, and then modify it to uppercase.…
-
Post Views: 17 1. In the program implementation, first request the API to generate a cache ID. Then request the API, delete the cache ID. as shown in Figure 1 2. If you want to pass in the test, the premise is that there must be a clear cache ID to delete the parameters of the request. 3. Reference URL:https://learnku.com/laravel/t/22690.…
-
Post Views: 17 1. Delete the repository in GitHub. Some code is not allowed to be placed in GitHub due to company security requirements. In the end, it was decided to delete it. as shown in Figure 1 2. Open the URL:https://github.com/shuijingwan/weibo, decided to delete this repository. Go to the Settings page. as shown in Figure 2 3. Scroll to…
-
Post Views: 12 1. An error occurred while updating Hueman Addons: the download failed. Curl Error 18: Transfer closed with 2183267 bytes remaining to read. CURL error 18: Transport is turned off, and 2183267 bytes are available for read. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/2021/02/19/4734/. The solution is to download from the server and put it in the…
-
Post Views: 50 1. The content of the Dockerfile is as follows 2. Since there are directories in the basic image: /sobey/www, and it is a blank directory, it is no longer needed. The basic image cannot be upgraded for a while, so I decided to delete the folder in the Dockerfile: /sobey. as shown in Figure 1 3. Add…
-
Post Views: 12 1. TortoiseGit -> Display log, as shown in Figure 1 2. Start: 2019/01/01 to: 2019/12/31, as shown in Figure 2 3. Click the Statistics button, the statistics dialog box will pop up, and click the calculation button. as shown in Figure 3 4. The total number of changes that do not include adding/deleted files: 58807 (38411 (+)…
-
Post Views: 11 1. TortoiseGit -> Display log, as shown in Figure 1 2. Start: 2019/01/01 to: 2019/12/31, as shown in Figure 2 3. Click the Statistics button, the statistics dialog box will pop up, and click the calculation button. as shown in Figure 3 4. The total number of changes that do not include adding/deleted files: 58807 (38411 (+)…