wp_emplmasy_employees

Static

Stores emplmasy employees data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint(20) unsignedNO
user_idbigint(20) unsignedNO
departmentvarchar(100)NO
designationvarchar(100)NO
join_datedateNO
leave_datedateYES
starting_salarydecimal(10,2)NO
current_salarydecimal(10,2)NO
phonevarchar(20)YES
street_addresstextYES
cityvarchar(100)YES
statevarchar(100)YES
postal_codevarchar(20)YES
countryvarchar(100)YES
emergency_contact_namevarchar(100)YES
emergency_contact_phonevarchar(20)YES
emergency_contact_relationvarchar(50)YES
marital_statusvarchar(20)YES
statusvarchar(20)YES
created_atdatetimeYES
updated_atdatetimeYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS wp_emplmasy_employees ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT, user_id bigint(20) unsigned NOT NULL, department varchar(100) NOT NULL, designation varchar(100) NOT NULL, join_date date NOT NULL, leave_date date NULL, starting_salary decimal(10,2) NOT NULL DEFAULT '0.00', current_salary decimal(10,2) NOT NULL DEFAULT '0.00', phone varchar(20) NULL, street_address text NULL, city varchar(100) NULL, state varchar(100) NULL, postal_code varchar(20) NULL, country varchar(100) NULL, emergency_contact_name varchar(100) NULL, emergency_contact_phone varchar(20) NULL, emergency_contact_relation varchar(50) NULL, marital_status varchar(20) DEFAULT 'single', status varchar(20) DEFAULT 'active', created_at datetime DEFAULT CURRENT_TIMESTAMP, updated_at datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY user_id (user_id), KEY department (department), KEY join_date (join_date), KEY leave_date (leave_date) ) $charset_collate;"; dbDelta($sql);

Safe to delete?

If you have uninstalled Employee Management System, 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_emplmasy_employees`;

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

Other tables from Employee Management System