wp_ec_user_activity
StaticStores ec user activity data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑activity_id | bigint(20) | NO |
| user_id | int(11) | NO |
| activity_type | varchar(50) | NO |
| activity_date | datetime | YES |
| object_type | varchar(50) | NO |
| object_id | bigint(20) | NO |
| meta | text | YES |
| actor_type | varchar(20) | NO |
| actor_id | bigint(20) | NO |
| ip_address | varchar(45) | NO |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS ec_user_activity ( activity_id bigint(20) NOT NULL AUTO_INCREMENT, user_id int(11) NOT NULL DEFAULT '0', activity_type varchar(50) NOT NULL DEFAULT '', activity_date datetime DEFAULT NULL, object_type varchar(50) NOT NULL DEFAULT '', object_id bigint(20) NOT NULL DEFAULT '0', meta text, actor_type varchar(20) NOT NULL DEFAULT '', actor_id bigint(20) NOT NULL DEFAULT '0', ip_address varchar(45) NOT NULL DEFAULT '', PRIMARY KEY (activity_id), KEY user_activity_user_date (user_id,activity_date), KEY user_activity_type (activity_type) ) $collate;" );
Safe to delete?
If you have uninstalled WP EasyCart: Shopping Cart and eCommerce Store, 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_ec_user_activity`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from WP EasyCart: Shopping Cart and eCommerce Store