Title: Foreign Keys Pro
Author: Hubbard Labs
Published: <strong>2020 年 11 月 11 日</strong>
Last modified: 2025 年 1 月 3 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/foreign-keys-pro.svg)

# Foreign Keys Pro

 作者：[Hubbard Labs](https://profiles.wordpress.org/hubbardlabs/)

[下载](https://downloads.wordpress.org/plugin/foreign-keys-pro.zip)

 * [详情](https://cn.wordpress.org/plugins/foreign-keys-pro/#description)
 * [评价](https://cn.wordpress.org/plugins/foreign-keys-pro/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/foreign-keys-pro/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/foreign-keys-pro/#developers)

 [支持](https://wordpress.org/support/plugin/foreign-keys-pro/)

## 描述

A WordPress plugin to simply create MySQL foreign keys.

## 安装

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

### What are MySQL Foreign Keys?

A foreign key is a column or group of columns in a table that links to a column 
or group of columns in another table. The foreign key places constraints on data
in the related tables, which allows MySQL to maintain referential integrity.
 Reference:
[MySQL Tutorial](https://www.mysqltutorial.org/mysql-foreign-key/)

### Do Foreign Keys have an impact on performance?

This realistically can vary site to site based on many factors. It is always best
to test in a development environment, but here is a [good article](https://www.scarydba.com/2015/09/09/yes-foreign-keys-help-performance/)
on how it might help performance.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Foreign Keys Pro」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

[帮助将「Foreign Keys Pro」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/foreign-keys-pro)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/foreign-keys-pro/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/foreign-keys-pro/)，或通过[RSS](https://plugins.trac.wordpress.org/log/foreign-keys-pro/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/foreign-keys-pro/)。

## 更新日志

#### 1.0.0

 * This version is the first release.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/foreign-keys-pro/)
 * 标签
 * [mysql](https://cn.wordpress.org/plugins/tags/mysql/)
 *  [高级视图](https://cn.wordpress.org/plugins/foreign-keys-pro/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/foreign-keys-pro/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/foreign-keys-pro/reviews/)

## 贡献者

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/foreign-keys-pro/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://hubbardlabs.com)