wp_aieo_sales_predictor_history

Static

Stores aieo sales predictor history data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint unsignedNO
grainvarchar(12)NO
product_idbigintYES
snapshot_datedateNO
current_stockbigintYES
pricedecimal(20,2)YES
ipd_lineardecimal(20,7)YES
ipd_ewmadecimal(20,7)YES
ipd_averagedecimal(20,7)YES
chosen_ipddecimal(20,7)YES
chosen_methodvarchar(40)YES
est_zero_stock_datedatetimeYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_aieo_sales_predictor_history` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT, `grain` varchar(12) NOT NULL DEFAULT 'variation', `product_id` bigint DEFAULT NULL, `snapshot_date` date NOT NULL, `current_stock` bigint DEFAULT NULL, `price` decimal(20,2) DEFAULT NULL, `ipd_linear` decimal(20,7) DEFAULT NULL, `ipd_ewma` decimal(20,7) DEFAULT NULL, `ipd_average` decimal(20,7) DEFAULT NULL, `chosen_ipd` decimal(20,7) DEFAULT NULL, `chosen_method` varchar(40) DEFAULT NULL, `est_zero_stock_date` datetime DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `uq_grain_product_snap` (`grain`,`product_id`,`snapshot_date`), KEY `idx_snap` (`snapshot_date`) ) ENGINE

Safe to delete?

If you have uninstalled AI eShop Optimizer, 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_aieo_sales_predictor_history`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from AI eShop Optimizer