{"slug":"cloudfold-lite","name":"CloudFold Lite – AI-Powered Media Organizer & Cloud Storage Offloader","description":"Build responsive image galleries, organize uploads into folders, publish Gutenberg blocks, and use a fast zero-dependency lightbox.","author":"Tophive","active_installs":0,"version":"1.0.0","wp_org_url":"https://wordpress.org/plugins/cloudfold-lite/","is_closed":false,"cleanup":{"has_uninstall_hook":true,"drops_tables_on_uninstall":true,"deletes_options_on_uninstall":false},"tables":[{"table_name":"cloudfold_ai_log","full_table_name":"wp_cloudfold_ai_log","description":"A logging table that records activity, events, or audit history.","detection_method":"static","confidence":"high","columns":[],"create_sql":null},{"table_name":"cloudfold_folder_attachments","full_table_name":"wp_cloudfold_folder_attachments","description":"Stores cloudfold folder attachments data created by this plugin.","detection_method":"static","confidence":"medium","columns":[],"create_sql":null},{"table_name":"cloudfold_folders","full_table_name":"wp_cloudfold_folders","description":"Stores cloudfold folders data created by this plugin.","detection_method":"static","confidence":"high","columns":[{"name":"id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":true},{"name":"parent_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"user_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"name","type":"VARCHAR(200)","nullable":false,"primary_key":false},{"name":"slug","type":"VARCHAR(200)","nullable":false,"primary_key":false},{"name":"color","type":"VARCHAR(20)","nullable":false,"primary_key":false},{"name":"icon","type":"VARCHAR(50)","nullable":false,"primary_key":false},{"name":"sort_order","type":"INT","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false},{"name":"updated_at","type":"DATETIME","nullable":false,"primary_key":false},{"name":"folder_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"attachment_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"gallery_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"attachment_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"sort_order","type":"INT","nullable":false,"primary_key":false},{"name":"caption","type":"TEXT","nullable":true,"primary_key":false},{"name":"alt_text","type":"VARCHAR(500)","nullable":true,"primary_key":false},{"name":"link_url","type":"VARCHAR(500)","nullable":true,"primary_key":false},{"name":"link_target","type":"VARCHAR(20)","nullable":false,"primary_key":false},{"name":"custom_size_w","type":"SMALLINT","nullable":false,"primary_key":false},{"name":"custom_size_h","type":"SMALLINT","nullable":false,"primary_key":false},{"name":"is_featured","type":"TINYINT(1)","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false}],"create_sql":"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 );"},{"table_name":"cloudfold_gallery_images","full_table_name":"wp_cloudfold_gallery_images","description":"Stores cloudfold gallery images data created by this plugin.","detection_method":"static","confidence":"medium","columns":[],"create_sql":null},{"table_name":"cloudfold_offload_rule_conditions","full_table_name":"wp_cloudfold_offload_rule_conditions","description":"Stores cloudfold offload rule conditions data created by this plugin.","detection_method":"static","confidence":"medium","columns":[],"create_sql":null},{"table_name":"cloudfold_offload_rules","full_table_name":"wp_cloudfold_offload_rules","description":"Stores cloudfold offload rules data created by this plugin.","detection_method":"static","confidence":"high","columns":[],"create_sql":null},{"table_name":"cloudfold_queue_state","full_table_name":"wp_cloudfold_queue_state","description":"A job queue table for managing background tasks and scheduled operations.","detection_method":"static","confidence":"high","columns":[],"create_sql":null}],"table_count":7}