craftcms / fix-fks
Restore missing foreign key constraints in the database.
Installs: 16 038
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 5
Forks: 2
Open Issues: 2
Type:craft-plugin
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-10-20 00:13:30 UTC
README
This plugin enables users to restore foreign key constraints in their database.
Requirements
This plugin requires Craft CMS 4.0.0+ or 5.0.0+.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Fix FKs”. Then click on the “Install” button in its modal window.
With Composer
Open your terminal and run the following commands:
# 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
Usage
Run the restore operation by navigating to Utilities → Fix FKs in the Control Panel.