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

laravel5.8执行最后一步的安装任务出错 #8

Closed
huanBird opened this issue Dec 4, 2019 · 8 comments
Closed

laravel5.8执行最后一步的安装任务出错 #8

huanBird opened this issue Dec 4, 2019 · 8 comments

Comments

@huanBird
Copy link

huanBird commented Dec 4, 2019

图片

@huanBird
Copy link
Author

huanBird commented Dec 4, 2019

常规错误:3780外键约束“ permission_extras_permission_id_foreign”中的引用列“ permission_id”和引用列“ id”不兼容。

@imzhi
Copy link
Owner

imzhi commented Dec 4, 2019

修复了。需要重新安装下包并且手动删除下数据

  1. 删除2019_07_04_141217_create_permission_extras_table.php这个文件
  2. 删除数据库中的permission_extras表
  3. composer require imzhi/jf-admin ^1.1
  4. php artisan vendor:publish --provider="Imzhi\JFAdmin\JFAdminServiceProvider"
  5. php artisan jfadmin:install

@huanBird
Copy link
Author

huanBird commented Dec 4, 2019

那个大佬 能可以加一下qq 或者微信吗?我还有一些问题需要问一下,耽误您一些时间

@imzhi
Copy link
Owner

imzhi commented Dec 4, 2019

如果是扩展包有问题直接开issue,我在这里回复。要么在learnku里私信我,也可以看到

@huanBird
Copy link
Author

huanBird commented Dec 4, 2019

好的

@huanBird
Copy link
Author

huanBird commented Dec 4, 2019

我把包 卸载啦。重新composer安装 是要安装新版本是吧。composer require imzhi/jf-admin ^1.1 这个我没有看懂?我新安装需要安装1.1版本吗?

@imzhi
Copy link
Owner

imzhi commented Dec 4, 2019

composer require imzhi/jf-admin ^1.1 这个的意思是安装 1.x.x 里的最新版本,并不是安装1.1版本

@huanBird
Copy link
Author

huanBird commented Dec 4, 2019

哦。 好的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants