wp_infinite_uploads_media_folders
StaticStores infinite uploads media folders data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT UNSIGNED | NO |
| name | VARCHAR(255) | NO |
| parent_id | BIGINT UNSIGNED | NO |
| sort_order | INT UNSIGNED | NO |
| created_by | BIGINT UNSIGNED | NO |
| created_at | DATETIME | NO |
| updated_at | DATETIME | NO |
| color | VARCHAR(20) | NO |
| attachment_id | BIGINT UNSIGNED | NO |
CREATE TABLE Statement
CREATE TABLE wp_infinite_uploads_media_folders ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, parent_id BIGINT UNSIGNED NOT NULL DEFAULT 0, sort_order INT UNSIGNED NOT NULL DEFAULT 0, created_by BIGINT UNSIGNED NOT NULL DEFAULT 0, created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, color VARCHAR(20) NOT NULL DEFAULT '', PRIMARY KEY (id), KEY parent_id (parent_id), KEY sort_order (sort_order) ) {$charset_collate};"; // Media-to-folder relationship table. $sql .= "\nCREATE TABLE wp_infinite_uploads_media_folder_relationships ( folder_id BIGINT UNSIGNED NOT NULL, attachment_id BIGINT UNSIGNED NOT NULL, PRIMARY KEY (folder_id, attachment_id), KEY attachment_id (attachment_id) ) {$charset_collate};"; if ( ! function_exists( 'dbDelta' ) ) { require_once ABSPATH . 'wp-admin/includes/upgrade.php'; } dbDelta( $sql );Safe to delete?
If you have uninstalled Infinite Uploads – Offload Media and Video to Cloud Storage, 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_infinite_uploads_media_folders`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Infinite Uploads – Offload Media and Video to Cloud Storage