wp_erp_people_types
StaticStores erp people types data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | int(11) unsigned | NO |
| name | varchar(20) | YES |
| people_id | bigint(20) unsigned | YES |
| people_types_id | int(11) unsigned | YES |
| deleted_at | datetime | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS `wp_erp_people_types` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(20) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) $collate;"; $relations_table = "CREATE TABLE IF NOT EXISTS `wp_erp_people_type_relations` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `people_id` bigint(20) unsigned DEFAULT NULL, `people_types_id` int(11) unsigned DEFAULT NULL, `deleted_at` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `people_id` (`people_id`), KEY `people_types_id` (`people_types_id`) ) $collate;"; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; dbDelta( $types_table );
Safe to delete?
If you have uninstalled ERP: Complete HR, Recruitment, Accounting & CRM Suite with WooCommerce CRM Support, this table is generally safe to remove. However, always back up your database first.
Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.
How to remove this table
DROP TABLE IF EXISTS `wp_erp_people_types`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from ERP: Complete HR, Recruitment, Accounting & CRM Suite with WooCommerce CRM Support