wp_ecl_lite_embeddings
StaticStores ecl lite embeddings data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT(20) UNSIGNED | NO |
| post_id | BIGINT(20) UNSIGNED | NO |
| embedding | LONGTEXT | NO |
| content_hash | VARCHAR(32) | NO |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
| source_post_id | BIGINT(20) UNSIGNED | NO |
| target_post_id | BIGINT(20) UNSIGNED | NO |
| anchor_text | VARCHAR(255) | NO |
| similarity_score | FLOAT | YES |
| status | VARCHAR(20) | YES |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
| post_id | BIGINT(20) UNSIGNED | NO |
| action | VARCHAR(50) | NO |
| details | TEXT | YES |
| created_at | DATETIME | YES |
| post_id | BIGINT(20) UNSIGNED | NO |
| action | VARCHAR(50) | NO |
| priority | INT | YES |
| status | VARCHAR(20) | YES |
| attempts | INT | YES |
| error_message | TEXT | YES |
| started_at | DATETIME | YES |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS wp_ecl_lite_embeddings ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, post_id BIGINT(20) UNSIGNED NOT NULL, embedding LONGTEXT NOT NULL, content_hash VARCHAR(32) NOT NULL, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), UNIQUE KEY post_id (post_id), KEY content_hash (content_hash) ) {$charset_collate};"; // Links table $sql[] = "CREATE TABLE IF NOT EXISTS wp_ecl_lite_links ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, source_post_id BIGINT(20) UNSIGNED NOT NULL, target_post_id BIGINT(20) UNSIGNED NOT NULL, anchor_text VARCHAR(255) NOT NULL, similarity_score FLOAT DEFAULT 0, status VARCHAR(20) DEFAULT 'active', created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY source_post_id (source_post_id), KEY target_post_id (target_post_id), KEY status (status), UNIQUE KEY unique_link (source_post_id, target_post_id, anchor_text(100)) ) {$charset_collate};"; // History table $sql[] = "CREATE TABLE IF NOT EXISTS wp_ecl_lite_history ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, post_id BIGINT(20) UNSIGNED NOT NULL, action VARCHAR(50) NOT NULL, details TEXT, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY post_id (post_id), KEY action (action) ) {$charset_collate};"; // Queue table $sql[] = "CREATE TABLE IF NOT EXISTS wp_ecl_lite_queue ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, post_id BIGINT(20) UNSIGNED NOT NULL, action VARCHAR(50) NOT NULL, priority INT DEFAULT 5, status VARCHAR(20) DEFAULT 'pending', attempts INT DEFAULT 0, error_message TEXT, started_at DATETIME DEFAULT NULL, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY post_id (post_id), KEY status (status), KEY priority (priority) ) {$charset_collate};"; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; foreach ( $sql as $query ) { dbDelta( $query );Safe to delete?
If you have uninstalled Easy Content Linker Lite, 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_ecl_lite_embeddings`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Easy Content Linker Lite