wp_boreal_relay_conversations
StaticStores boreal relay conversations data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT(20) UNSIGNED | NO |
| session_id | VARCHAR(64) | NO |
| role | ENUM('user','assistant') | NO |
| message | LONGTEXT | NO |
| confidence | FLOAT | YES |
| escalated | TINYINT(1) | YES |
| page_url | VARCHAR(500) | YES |
| helpful | TINYINT(1) | YES |
| created_at | DATETIME | YES |
| question | TEXT | NO |
| answer | LONGTEXT | NO |
| category | VARCHAR(100) | YES |
| source | ENUM('seed','learned','admin') | YES |
| approved | TINYINT(1) | YES |
| use_count | INT | YES |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
| session_id | VARCHAR(64) | NO |
| trigger_message | LONGTEXT | NO |
| ai_reply | LONGTEXT | NO |
| customer_name | VARCHAR(100) | YES |
| customer_email | VARCHAR(200) | YES |
| customer_phone | VARCHAR(50) | YES |
| status | ENUM('open','in_progress','resolved') | YES |
| resolved_by | VARCHAR(100) | YES |
| notes | TEXT | YES |
| created_at | DATETIME | YES |
| updated_at | DATETIME | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS wp_boreal_relay_conversations ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, session_id VARCHAR(64) NOT NULL, role ENUM('user','assistant') NOT NULL, message LONGTEXT NOT NULL, confidence FLOAT DEFAULT NULL, escalated TINYINT(1) DEFAULT 0, page_url VARCHAR(500) DEFAULT NULL, helpful TINYINT(1) DEFAULT NULL, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY session_id (session_id), KEY created_at (created_at) ) $charset_collate;"; $sql_knowledge = "CREATE TABLE IF NOT EXISTS wp_boreal_relay_knowledge ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, question TEXT NOT NULL, answer LONGTEXT NOT NULL, category VARCHAR(100) DEFAULT 'general', source ENUM('seed','learned','admin') DEFAULT 'admin', approved TINYINT(1) DEFAULT 1, use_count INT DEFAULT 0, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY category (category), KEY approved (approved) ) $charset_collate;"; $sql_escalations = "CREATE TABLE IF NOT EXISTS wp_boreal_relay_escalations ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, session_id VARCHAR(64) NOT NULL, trigger_message LONGTEXT NOT NULL, ai_reply LONGTEXT NOT NULL, customer_name VARCHAR(100) DEFAULT NULL, customer_email VARCHAR(200) DEFAULT NULL, customer_phone VARCHAR(50) DEFAULT NULL, status ENUM('open','in_progress','resolved') DEFAULT 'open', resolved_by VARCHAR(100) DEFAULT NULL, notes TEXT DEFAULT NULL, created_at DATETIME DEFAULT CURRENT_TIMESTAMP, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY status (status), KEY created_at (created_at) ) $charset_collate;"; dbDelta( $sql_conversations );Safe to delete?
If you have uninstalled Boreal Relay, 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_boreal_relay_conversations`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Boreal Relay