craftcms / fix-fks
恢复数据库中缺失的外键约束。
2.1.0
2024-03-19 22:54 UTC
Requires
- craftcms/cms: ^4.0.0-RC3|^5.0.0-beta.1
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2024-09-19 23:58:51 UTC
README
此插件允许用户恢复他们数据库中的外键约束。
要求
此插件需要Craft CMS 4.0.0+或5.0.0+。
安装
您可以从插件商店或使用Composer安装此插件。
从插件商店
转到您项目的控制面板中的插件商店,搜索“Fix FKs”。然后在模态窗口中点击“安装”按钮。
使用Composer
打开您的终端,并运行以下命令
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require craftcms/fix-fks # tell Craft to install the plugin ./craft plugin/install fix-fks
用法
通过导航到控制面板中的工具 → Fix FKs 来运行恢复操作。