Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 创建迁移文件在没有migrations目录情况下会失败 #122

Closed
teg1c opened this issue Jul 4, 2019 · 0 comments · Fixed by #148
Closed

[BUG] 创建迁移文件在没有migrations目录情况下会失败 #122

teg1c opened this issue Jul 4, 2019 · 0 comments · Fixed by #148
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@teg1c
Copy link
Contributor

teg1c commented Jul 4, 2019

  • Hyperf Version: v1.0.3
  • PHP Version: (php -v) 7.2
  • Swoole Version: (php --ri swoole) 4.3.5

Description:

创建迁移文件时 报错提示:
file_put_contents(/path/hyperf/migrations/2019_07_04_165205_create_shop_orders_table.php): failed to open stream: No such file or directory in /path/hyperf/vendor/hyperf/utils/src/Filesystem/Filesystem.php on line 120

Steps To Reproduce:

php bin/hyperf.php gen:migration create_shop_orders_table --create=shop_orders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants