特定表迁移laravel中出错

特定表迁移laravel中出错,laravel,migration,Laravel,Migration,当我使用时,我只想运行一个迁移文件 $php artisan migrate --path=/database/migrations/2019_03_20_101338_create_calendars_table.php 我得到这个错误 呜呜声\Exception\ErrorException:illumb\Filesystem\Filesystem::requirence():打开所需文件失败'C:\xampp\htdocs\project/C:/Program Files/Git/da

当我使用时,我只想运行一个迁移文件

$php artisan migrate  --path=/database/migrations/2019_03_20_101338_create_calendars_table.php
我得到这个错误

呜呜声\Exception\ErrorException:illumb\Filesystem\Filesystem::requirence():打开所需文件失败'C:\xampp\htdocs\project/C:/Program Files/Git/database/migrations/2019\u 03\u 20\u 10
1338_create_calendars_table.php'(include_path='C:\xampp\php\PEAR')

从URI中删除第一个斜杠,第一个斜杠表示URI是绝对的,而不是相对的


$php artisan migrate--path=database/migrations/2019\u 03\u 20\u 101338\u create\u calendars\u table.php

尝试以下路径:
--path=database/migrations/2019\u 03\u 20\u 101338\u create\u calendars\u table.php
因此删除“database”右前方的第一个斜杠谢谢你偷了我的答案:竖起大拇指:当我发布我的答案时,你的评论不存在。不管怎样,如果我冒犯了你,我很抱歉。