wp_eicp_employees

Static

Stores eicp employees data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint(20) unsignedNO
entra_idvarchar(255)NO
display_namevarchar(255)NO
emailvarchar(255)NO
job_titlevarchar(255)YES
departmentvarchar(255)YES
manager_idvarchar(255)YES
birthdaydateYES
start_datedateYES
photo_urlvarchar(500)YES
hashvarchar(64)YES
last_syncdatetimeYES
synced_atdatetimeYES
modulevarchar(100)NO
statusvarchar(50)NO
items_syncedint(11)YES
error_jsontextYES
started_atdatetimeYES
finished_atdatetimeYES
titlevarchar(255)NO
bodytextNO
author_idbigint(20)NO
is_pinnedtinyint(1)YES
created_atdatetimeYES
sender_idbigint(20)NO
recipient_idbigint(20)NO
recipient_namevarchar(255)YES
recipient_emailvarchar(255)YES
messagetextNO
created_atdatetimeYES
questionvarchar(500)NO
optionstextNO
is_activetinyint(1)YES
created_atdatetimeYES
poll_idbigint(20)NO
user_idbigint(20)NO
option_indexint(11)NO
created_atdatetimeYES
questionvarchar(500)NO
answertextNO
categoryvarchar(190)YES
sort_orderint(11)YES
created_atdatetimeYES

CREATE TABLE Statement

CREATE TABLE wp_eicp_employees ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, entra_id varchar(255) NOT NULL, display_name varchar(255) NOT NULL, email varchar(255) NOT NULL, job_title varchar(255) DEFAULT '', department varchar(255) DEFAULT '', manager_id varchar(255) DEFAULT '', birthday date DEFAULT NULL, start_date date DEFAULT NULL, photo_url varchar(500) DEFAULT '', hash varchar(64) DEFAULT '', last_sync datetime DEFAULT NULL, synced_at datetime DEFAULT NULL, PRIMARY KEY (id), UNIQUE KEY entra_id (entra_id) ) $charset_collate;"; $tables[] = "CREATE TABLE wp_eicp_sync_logs ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, module varchar(100) NOT NULL, status varchar(50) NOT NULL, items_synced int(11) DEFAULT 0, error_json text, started_at datetime DEFAULT NULL, finished_at datetime DEFAULT NULL, PRIMARY KEY (id) ) $charset_collate;"; // Engagement Pack tables. $tables[] = "CREATE TABLE wp_eicp_announcements ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, title varchar(255) NOT NULL, body text NOT NULL, author_id bigint(20) NOT NULL DEFAULT 0, is_pinned tinyint(1) DEFAULT 0, created_at datetime DEFAULT NULL, PRIMARY KEY (id), KEY is_pinned (is_pinned) ) $charset_collate;"; $tables[] = "CREATE TABLE wp_eicp_kudos ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, sender_id bigint(20) NOT NULL, recipient_id bigint(20) NOT NULL, recipient_name varchar(255) DEFAULT '', recipient_email varchar(255) DEFAULT '', message text NOT NULL, created_at datetime DEFAULT NULL, PRIMARY KEY (id), KEY recipient_id (recipient_id) ) $charset_collate;"; $tables[] = "CREATE TABLE wp_eicp_polls ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, question varchar(500) NOT NULL, options text NOT NULL, is_active tinyint(1) DEFAULT 1, created_at datetime DEFAULT NULL, PRIMARY KEY (id) ) $charset_collate;"; $tables[] = "CREATE TABLE wp_eicp_poll_votes ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, poll_id bigint(20) NOT NULL, user_id bigint(20) NOT NULL, option_index int(11) NOT NULL DEFAULT 0, created_at datetime DEFAULT NULL, PRIMARY KEY (id), UNIQUE KEY poll_user (poll_id,user_id) ) $charset_collate;"; $tables[] = "CREATE TABLE wp_eicp_faqs ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, question varchar(500) NOT NULL, answer text NOT NULL, category varchar(190) DEFAULT 'General', sort_order int(11) DEFAULT 0, created_at datetime DEFAULT NULL, PRIMARY KEY (id), KEY category (category) ) $charset_collate;"; foreach ( $tables as $sql ) { dbDelta( $sql );

Safe to delete?

If you have uninstalled IntranetOS Employee Intranet with Entra ID, 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_eicp_employees`;

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

Other tables from IntranetOS Employee Intranet with Entra ID