wp_catfolders

Static

Stores catfolders data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idint(11) unsignedNO
titlevarchar(250)NO
parentint(11) unsignedNO
typevarchar(20)NO
ordint(11) unsignedYES
created_bybigint(20)NO
post_idbigint(20) unsignedNO

CREATE TABLE Statement

CREATE TABLE wp_catfolders ( id int(11) unsigned NOT NULL AUTO_INCREMENT, title varchar(250) NOT NULL, parent int(11) unsigned NOT NULL DEFAULT 0, type varchar(20) NOT NULL DEFAULT 'attachment', ord int(11) unsigned NULL DEFAULT 0, created_by bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_catfolders_posts ( folder_id int(11) unsigned NOT NULL, post_id bigint(20) unsigned NOT NULL, UNIQUE KEY `folder_post` (`folder_id`,`post_id`) ) $collate; "; return $tables; } public static function updatePluginVersion() { update_option( 'catf_version', CATF_VERSION );

Safe to delete?

If you have uninstalled CatFolders – WordPress Media Library Folders & Categories, 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_catfolders`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from CatFolders – WordPress Media Library Folders & Categories