wp_emr_login_logs
StaticA logging table that records activity, events, or audit history.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT UNSIGNED | NO |
| user_id | BIGINT UNSIGNED | YES |
| username_attempt | VARCHAR(60) | YES |
| event_type | VARCHAR(10) | NO |
| ip_address | VARCHAR(45) | YES |
| user_agent | VARCHAR(500) | YES |
| login_at | DATETIME | NO |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS wp_emr_login_logs ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, user_id BIGINT UNSIGNED DEFAULT NULL, username_attempt VARCHAR(60) DEFAULT NULL, event_type VARCHAR(10) NOT NULL DEFAULT 'login', ip_address VARCHAR(45) DEFAULT NULL, user_agent VARCHAR(500) DEFAULT NULL, login_at DATETIME NOT NULL, PRIMARY KEY (id), KEY idx_user (user_id), KEY idx_login_at (login_at), KEY idx_event (event_type) ) $c;" );
Safe to delete?
If you have uninstalled EmpRoster, 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_emr_login_logs`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from EmpRoster