wp_ecl_lite_embeddings

Static

Stores ecl lite embeddings data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idBIGINT(20) UNSIGNEDNO
post_idBIGINT(20) UNSIGNEDNO
embeddingLONGTEXTNO
content_hashVARCHAR(32)NO
created_atDATETIMEYES
updated_atDATETIMEYES
source_post_idBIGINT(20) UNSIGNEDNO
target_post_idBIGINT(20) UNSIGNEDNO
anchor_textVARCHAR(255)NO
similarity_scoreFLOATYES
statusVARCHAR(20)YES
created_atDATETIMEYES
updated_atDATETIMEYES
post_idBIGINT(20) UNSIGNEDNO
actionVARCHAR(50)NO
detailsTEXTYES
created_atDATETIMEYES
post_idBIGINT(20) UNSIGNEDNO
actionVARCHAR(50)NO
priorityINTYES
statusVARCHAR(20)YES
attemptsINTYES
error_messageTEXTYES
started_atDATETIMEYES
created_atDATETIMEYES
updated_atDATETIMEYES

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