wp_cloudfold_folders

Static

Stores cloudfold folders data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT UNSIGNEDNO
parent_idBIGINT UNSIGNEDNO
user_idBIGINT UNSIGNEDNO
nameVARCHAR(200)NO
slugVARCHAR(200)NO
colorVARCHAR(20)NO
iconVARCHAR(50)NO
sort_orderINTNO
created_atDATETIMENO
updated_atDATETIMENO
folder_idBIGINT UNSIGNEDNO
attachment_idBIGINT UNSIGNEDNO
gallery_idBIGINT UNSIGNEDNO
attachment_idBIGINT UNSIGNEDNO
sort_orderINTNO
captionTEXTYES
alt_textVARCHAR(500)YES
link_urlVARCHAR(500)YES
link_targetVARCHAR(20)NO
custom_size_wSMALLINTNO
custom_size_hSMALLINTNO
is_featuredTINYINT(1)NO
created_atDATETIMENO

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS wp_cloudfold_folders ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, parent_id BIGINT UNSIGNED NOT NULL DEFAULT 0, user_id BIGINT UNSIGNED NOT NULL DEFAULT 0, name VARCHAR(200) NOT NULL DEFAULT '', slug VARCHAR(200) NOT NULL DEFAULT '', color VARCHAR(20) NOT NULL DEFAULT '#6366f1', icon VARCHAR(50) NOT NULL DEFAULT 'folder', sort_order INT NOT NULL DEFAULT 0, created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY parent_id (parent_id), KEY user_id (user_id), KEY slug (slug(191)) ) {$charset_collate};"; $sql[] = "CREATE TABLE IF NOT EXISTS wp_cloudfold_folder_attachments ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, folder_id BIGINT UNSIGNED NOT NULL, attachment_id BIGINT UNSIGNED NOT NULL, PRIMARY KEY (id), UNIQUE KEY folder_attachment (folder_id, attachment_id), KEY folder_id (folder_id), KEY attachment_id (attachment_id) ) {$charset_collate};"; $sql[] = "CREATE TABLE IF NOT EXISTS wp_cloudfold_gallery_images ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, gallery_id BIGINT UNSIGNED NOT NULL, attachment_id BIGINT UNSIGNED NOT NULL, sort_order INT NOT NULL DEFAULT 0, caption TEXT, alt_text VARCHAR(500), link_url VARCHAR(500), link_target VARCHAR(20) NOT NULL DEFAULT '_self', custom_size_w SMALLINT NOT NULL DEFAULT 0, custom_size_h SMALLINT NOT NULL DEFAULT 0, is_featured TINYINT(1) NOT NULL DEFAULT 0, created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), UNIQUE KEY gallery_attachment (gallery_id, attachment_id), KEY gallery_id (gallery_id), KEY attachment_id (attachment_id), KEY sort_order (sort_order) ) {$charset_collate};"; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; foreach ( $sql as $query ) { dbDelta( $query );

Safe to delete?

If you have uninstalled CloudFold Lite – AI-Powered Media Organizer & Cloud Storage Offloader, 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_cloudfold_folders`;

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

Other tables from CloudFold Lite – AI-Powered Media Organizer & Cloud Storage Offloader