wp_aieo_sales_predictor_history
StaticStores aieo sales predictor history data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | bigint unsigned | NO |
| grain | varchar(12) | NO |
| product_id | bigint | YES |
| snapshot_date | date | NO |
| current_stock | bigint | YES |
| price | decimal(20,2) | YES |
| ipd_linear | decimal(20,7) | YES |
| ipd_ewma | decimal(20,7) | YES |
| ipd_average | decimal(20,7) | YES |
| chosen_ipd | decimal(20,7) | YES |
| chosen_method | varchar(40) | YES |
| est_zero_stock_date | datetime | YES |
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