plugin-icon

Primary Key Fixer

作者:omelhus·
Plugins like Yoast and Slider Revolution doesn't create a PRIMARY KEY on tables when they are created. This is an issue when using services like …
版本
1.3
活跃安装
200
最后更新
Aug 29, 2021

Plugins like Yoast and Slider Revolution doesn’t create a PRIMARY KEY on tables when they are created. This is an issue when using services like Digital Ocean managed databases etc that uses replication and requires primary keys.

By installing this plugin it will add a query filter and look for queries that include CREATE TABLE and UNIQUE KEY, but not PRIMARY KEY, and insert a PRIMARY KEY for the same field as the UNIQUE KEY.

It will not fix restore where the query includes multiple create table and some of them contains ‘primary key’.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.8.12
这个插件是可用的下载,适用于您的站点。