Utility that restores any missing foreign key constraints
Switch branches/tags
Nothing to show
Clone or download
Latest commit cf80937 Oct 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Revert "This shouldn't have been here" Oct 2, 2018
.gitignore Initial commit Feb 27, 2018
CHANGELOG.md Finish 1.0.2.1 Oct 2, 2018
LICENSE.md Initial commit Feb 27, 2018
README.md Update README.md Sep 9, 2018
composer.json Finish 1.0.2.1 Oct 2, 2018

README.md

Fix FKs utility for Craft CMS

This plugin enables users to restore foreign key constraints in their database.

Requirements

This plugin requires Craft CMS 3.0.23 or later.

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 install/plugin fix-fks

Usage

Run the restore operation by navigating to Utilities → Fix FKs in the Control Panel.