Dereja M&E System Database Schema Documentation

Introduction

This documentation provides a comprehensive overview of the me_dereja database schema. This database schema is developed using MariaDB and it is designed to support a comprehensive candidate management system with features for tracking candidates, trainings, events, employment, and more.

Key Features

  • Candidate Management: Track detailed candidate information including personal details, education, skills, and disability status.
  • Training Programs: Manage training programs, participants, and related data.
  • Event Management: Organize and track participation in various events.
  • Employment Tracking: Monitor candidate employment status and history.
  • Reporting: Comprehensive reporting capabilities for all data.
  • User Management: System for managing different user roles and permissions.

Database Overview

Statistic Value
Total Tables 138
Primary Tables candidates, trainings, events, jobs, companies
Reference Tables regions, cities, sub_cities, zones, departments, etc.
System Tables users, derejame_users, webreports, etc.

Getting Started

Database Connection

To connect to the me_dereja database, use the following connection parameters:

// PHP PDO Connection
$db_host = '127.0.0.1';
$db_name = 'me_dereja';
$db_user = 'me_dereja';
$db_pass = 'me_dereja';
$db_port = '3306';

try {
    $pdo = new PDO("mysql:host=$db_host;dbname=$db_name", $db_user, $db_pass);
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    echo "Connected successfully";
} catch(PDOException $e) {
    echo "Connection failed: " . $e->getMessage();
}

Database Schema

The database follows a relational model with proper normalization. Key entities include:

Entity Description Related Tables
Candidates Core entity storing all candidate information candidates, candidate_employment_tracker, candidate_custom_data
Trainings Training programs and participant tracking trainings, training_participants, trainer
Events Event management and participation events, event_participants
Jobs Job listings and employment tracking jobs, candidate_employment_tracker
Companies Employer information companies, companysectors

Table Relationships

The database maintains referential integrity through foreign key relationships:

Key Relationships

  • candidates ↔ candidate_employment_tracker: One-to-many (One candidate can have multiple employment records)
  • jobs ↔ candidate_employment_tracker: One-to-many (One job can have multiple employment records)
  • trainings ↔ training_participants: One-to-many (One training can have many participants)
  • candidates ↔ training_participants: One-to-many (One candidate can participate in multiple trainings)
  • events ↔ event_participants: One-to-many (One event can have many participants)
  • candidates ↔ event_participants: One-to-many (One candidate can participate in multiple events)
  • regions ↔ cities: One-to-many (One region can have multiple cities)
  • cities ↔ sub_cities: One-to-many (One city can have multiple sub-cities)
  • sub_cities ↔ zones: One-to-many (One sub-city can have multiple zones)

Entity Relationship Diagram

The interactive Entity Relationship Diagram (ERD) below provides a visual representation of the database structure and relationships. Click and drag to navigate, scroll to zoom, and click on tables to see details.



Diagram Controls

Key Entities and Relationships

Entity Description Relationships
candidates Main table storing candidate information Related to employment, training, and event participation
trainings Training programs information Related to training_participants and trainer
events Event information Related to event_participants
jobs Job listings Related to candidate_employment_tracker
regions Geographical regions Parent to cities
cities Cities within regions Parent to sub_cities
sub_cities Sub-city divisions Parent to zones

Tables Documentation

This section provides detailed documentation for each table in the database, including column definitions, relationships, and sample data.

backup

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
backup_id int(10) No NULL PRIMARY Identifier field
backup_name varchar(20) Yes NULL Name or title field
backup_date date Yes NULL Date/time field
backup_action varchar(20) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

backup_schedule

11 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
schedule_type enum('minute','hourly','daily','weekly') No NULL
minute_interval int(11) Yes NULL
daily_time time Yes NULL
weekly_day varchar(10) Yes NULL
weekly_time time Yes NULL
is_active tinyint(1) Yes 1
created_at timestamp Yes current_timestamp() Date/time field
max_backups int(11) Yes 10
retention_days int(11) Yes 30
min_keep_backups int(11) Yes 2

This table has no foreign key relationships.

id schedule_type minute_interval daily_time weekly_day weekly_time is_active created_at max_backups retention_days min_keep_backups
1 minute 3 0 2025-04-04 16:50:57 10 30 2
2 minute 1 0 2025-04-04 17:09:11 10 30 2
3 minute 2 0 2025-04-04 17:16:42 10 30 2
4 minute 2 0 2025-04-04 17:23:10 10 30 2
5 minute 1 0 2025-04-04 17:28:01 10 30 2

Showing 5 sample records. Hover over cells to see full content.

calcalendar

16 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
DateField date Yes NULL
Description mediumtext Yes NULL
Subject varchar(200) Yes NULL
TimeField varchar(15) Yes NULL
EndTime varchar(15) Yes NULL
DayEvent int(11) Yes NULL
EndDate date Yes NULL
Period varchar(255) Yes NULL
PeriodDays varchar(255) Yes NULL
Recurrence int(11) Yes NULL
Category int(11) Yes NULL
OwnerID varchar(50) Yes NULL
RecurType varchar(10) Yes NULL
RecurOnValue varchar(20) Yes NULL
RecurAfterValue varchar(20) Yes NULL

This table has no foreign key relationships.

id DateField Description Subject TimeField EndTime DayEvent EndDate Period PeriodDays Recurrence Category OwnerID RecurType RecurOnValue RecurAfterValue
1 2020-02-04 don't delete

Showing 1 sample records. Hover over cells to see full content.

calcategory

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
Category varchar(50) Yes NULL
Color varchar(255) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

calfirstday

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
dayvalue int(11) Yes NULL
dayname varchar(50) Yes NULL Name or title field

This table has no foreign key relationships.

id dayvalue dayname
1 0 Sunday
2 1 Monday

Showing 2 sample records. Hover over cells to see full content.

calglobals

13 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
TimePeriod int(11) Yes NULL
FirstDayOfWeek int(11) No NULL
EditInPast int(11) No NULL
DefaultColor varchar(200) No #FFFFFF
HolidayColor varchar(200) No #EDDFDF Identifier field
WeekEndColor varchar(200) No #FEF6F6
RangedColor varchar(200) No #9FC6E7
SubjectLength int(11) No NULL
DescriptionLength int(11) No NULL
CountEvents int(11) No NULL
StartTime varchar(20) Yes NULL
EndTime varchar(20) Yes NULL

This table has no foreign key relationships.

id TimePeriod FirstDayOfWeek EditInPast DefaultColor HolidayColor WeekEndColor RangedColor SubjectLength DescriptionLength CountEvents StartTime EndTime
1 30 1 1 #FFFFFF #FA9E9E #EDDFDF #6AACE6 50 100 3 08:00:00 18:00:00

Showing 1 sample records. Hover over cells to see full content.

calholidays

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
name varchar(200) Yes NULL Name or title field
date date No NULL Date/time field

This table has no foreign key relationships.

id name date
1 New Year's Day 2023-01-01
2 Independence Day 2023-07-04
3 Veterans Day 2023-11-11
4 Christmas 2023-12-25
5 Birthday of Martin Luther King, Jr. 2023-01-21

Showing 5 sample records. Hover over cells to see full content.

callocale

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
fullcalendarlocale varchar(10) Yes NULL
runnerlocale varchar(30) Yes NULL

This table has no foreign key relationships.

id fullcalendarlocale runnerlocale
1 en Afrikaans
2 ar Arabic
3 en Bosnian
4 bg Bulgarian
5 ca Catalan

Showing 5 sample records. Hover over cells to see full content.

calperiod

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
Period varchar(255) Yes NULL
ValueField varchar(5) Yes NULL

This table has no foreign key relationships.

id Period ValueField
1 Daily d
2 Weekly ww
3 Monthly m
4 Yearly yyyy

Showing 4 sample records. Hover over cells to see full content.

calusers

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
username varchar(50) Yes NULL Name or title field
password varchar(100) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

calweekdays

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
daynum int(11) Yes NULL
dayname varchar(255) Yes NULL Name or title field

This table has no foreign key relationships.

id daynum dayname
1 1 Mon
2 2 Tue
3 3 Wed
4 4 Thu
5 5 Fri

Showing 5 sample records. Hover over cells to see full content.

candidate_custom_data

4 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CustomDataID int(11) No NULL PRIMARY
CandidateID int(11) No NULL FOREIGN Identifier field
CustomFieldID int(11) No NULL FOREIGN
Custom_Field_Value varchar(200) Yes NULL
Column References Relationship
CandidateID candidates (CandidateID) Many candidate_custom_data belong to one candidates
CustomFieldID candidate_custom_fields (CustomFieldID) Many candidate_custom_data belong to one candidate_custom_fields
CustomDataID CandidateID CustomFieldID Custom_Field_Value
2 1 3 Test Data for custom field

Showing 1 sample records. Hover over cells to see full content.

candidate_custom_fields

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CustomFieldID int(11) No NULL PRIMARY
FieldName varchar(200) No NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
candidate_custom_data CustomFieldID candidate_custom_fields (CustomFieldID) One candidate_custom_fields has many candidate_custom_data
CustomFieldID FieldName
3 TestCustomField
4 DerejaTestfield

Showing 2 sample records. Hover over cells to see full content.

candidate_employment_tracker

14 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CandidateID int(10) No NULL PRIMARY Identifier field
JobID int(10) No NULL PRIMARY
Referral_from_Dereja_service varchar(200) Yes NULL
Company_Name varchar(200) Yes NULL
Company_Phone_Number varchar(13) Yes NULL
Sector varchar(100) Yes NULL
Job_Position varchar(200) Yes NULL
Job_Type varchar(50) Yes NULL
Job_Placement_Date date Yes NULL
Employment_End_Date date Yes NULL
First_Name varchar(200) Yes NULL
Middle_Name varchar(200) Yes NULL Identifier field
Last_Name varchar(200) Yes NULL
CurrentEmploymentStatus varchar(200) Yes NULL
Column References Relationship
CandidateID candidates (CandidateID) Many candidate_employment_tracker belong to one candidates
JobID jobs (JobID) Many candidate_employment_tracker belong to one jobs

No sample data available for this table.

candidates

73 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CandidateID int(10) No NULL PRIMARY Identifier field
StudentID varchar(200) Yes NULL
First_Name varchar(200) Yes NULL
Middle_Name varchar(200) Yes NULL Identifier field
Last_Name varchar(200) Yes NULL
Sex varchar(10) Yes NULL
DOB date Yes NULL
Region varchar(200) Yes NULL
City varchar(200) Yes NULL
Sub_City varchar(200) Yes NULL
Zone varchar(200) Yes NULL
Woreda varchar(20) Yes NULL
Kebele varchar(20) Yes NULL
House_No varchar(10) Yes NULL
Phone_Number varchar(13) Yes NULL UNIQUE
Phone_Number_Alternate varchar(13) Yes NULL
Email_Address varchar(200) Yes NULL UNIQUE
Disability_Status varchar(10) Yes NULL
Disability_Type varchar(200) Yes NULL
Disability_Type_Other varchar(200) Yes NULL
Institution_Type varchar(20) Yes NULL
Institution_Name varchar(200) Yes NULL
Education_Level varchar(20) Yes NULL
Department varchar(20) Yes NULL
Minor varchar(20) Yes NULL
Major varchar(20) Yes NULL
Enrollement_Type varchar(200) Yes NULL
Skills varchar(100) Yes NULL
Languages varchar(200) Yes NULL
English_Proficiency_Level varchar(200) Yes NULL
Industry_Specific_Skills varchar(200) Yes NULL
IT_Related_Skills varchar(200) Yes NULL
Certifications varchar(200) Yes NULL
Year_of_graduation varchar(20) Yes NULL
Field_Of_Study varchar(200) Yes NULL
GPA float Yes NULL
Intervention varchar(200) Yes NULL
Campaign varchar(200) Yes NULL
Attend_Employability_Skill varchar(200) Yes NULL
DAAP_enrolled_1st Round varchar(200) Yes NULL
DAAP_Completed varchar(200) Yes NULL
DAAP_Completed_Courses varchar(200) Yes NULL
Job_Fair_Clinic varchar(200) Yes NULL
Job_Fair varchar(200) Yes NULL
Exit_Exam_Score int(10) Yes NULL
Exit_Exam_Status varchar(200) Yes NULL
DAAP_enrolled_2nd_Round varchar(200) Yes NULL
Upload_on_Tracker varchar(200) Yes NULL
Upload_on_Website varchar(200) Yes NULL
Work_Experience varchar(200) Yes NULL
Joined_Dereja_Services varchar(200) Yes NULL
Dereja_Services varchar(200) Yes NULL
Program_In_Dereja varchar(200) Yes NULL
Dereja_Training_Services varchar(200) Yes NULL
Training_Start_Date date Yes NULL
Training_End_Date date Yes NULL
Dereja_Event_Services varchar(200) Yes NULL
Event_Start_Date date Yes NULL
Event_End_Date date Yes NULL
Event_Participant_Type varchar(200) Yes NULL
Dereja_web_profile_completion int(10) Yes NULL
Dereja_Information_Source varchar(20) Yes NULL
Employment_Status varchar(200) Yes NULL
Employment_Company varchar(200) Yes NULL
Employer_Sector varchar(50) Yes NULL
Employment_Position varchar(200) Yes NULL
Salary varchar(10) Yes NULL
Career_Level_Of_Payment varchar(20) Yes NULL
Placement_Type varchar(20) Yes NULL
Placement_Duration varchar(20) Yes NULL
Remark varchar(200) Yes NULL
candidate_data mediumtext Yes NULL Identifier field
Date date Yes current_timestamp()

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
candidate_custom_data CandidateID candidates (CandidateID) One candidates has many candidate_custom_data
candidate_employment_tracker CandidateID candidates (CandidateID) One candidates has many candidate_employment_tracker
event_participants CandidateID candidates (CandidateID) One candidates has many event_participants
training_participants CandidateID candidates (CandidateID) One candidates has many training_participants
CandidateID StudentID First_Name Middle_Name Last_Name Sex DOB Region City Sub_City Zone Woreda Kebele House_No Phone_Number Phone_Number_Alternate Email_Address Disability_Status Disability_Type Disability_Type_Other Institution_Type Institution_Name Education_Level Department Minor Major Enrollement_Type Skills Languages English_Proficiency_Level Industry_Specific_Skills IT_Related_Skills Certifications Year_of_graduation Field_Of_Study GPA Intervention Campaign Attend_Employability_Skill DAAP_enrolled_1st Round DAAP_Completed DAAP_Completed_Courses Job_Fair_Clinic Job_Fair Exit_Exam_Score Exit_Exam_Status DAAP_enrolled_2nd_Round Upload_on_Tracker Upload_on_Website Work_Experience Joined_Dereja_Services Dereja_Services Program_In_Dereja Dereja_Training_Services Training_Start_Date Training_End_Date Dereja_Event_Services Event_Start_Date Event_End_Date Event_Participant_Type Dereja_web_profile_completion Dereja_Information_Source Employment_Status Employment_Company Employer_Sector Employment_Position Salary Career_Level_Of_Payment Placement_Type Placement_Duration Remark candidate_data Date
1 Wondiye Alemie Chane Male Tigray 920057232 941120624 wendyealemie7@gmail.com University Oda Bultum University Amharic 2023/2015 Computer Science 2.71 Yes Pass Yes No ESJR Not Employed CandidateID: 1, StudentID: , Full_Name: Wondiye Alemie Chane, Sex: Male, DOB: , Age: , Region: Tigra... 2025-02-14
2 Bayisa Alemayehu Firbisa Male Oromia Adama 900279963 949107663 bayisaalemayehu10@gmail.com University Adama Science and Technology University Amharic,Oromifa,English 2023/2015 Material Science and Engineering 2.39 Yes No Candidate Not Employed Busy CandidateID: 2, StudentID: , Full_Name: Bayisa Alemayehu Firbisa, Sex: Male, DOB: , Age: , Region: O...
3 Biruk Beriso Tuji Male 1999-12-05 Oromia Adama 926008412 944132844 birukberiso82@gmail.com University Adama Science and Technology University Amharic,Oromifa,English 2023/2015 Mechanical Engineering 2.4 Yes Yes 67 Pass Yes No Job Fair Candidate Self-employed CandidateID: 3, StudentID: , Full_Name: Biruk Beriso Tuji, Sex: Male, DOB: 1999-12-05, Age: 25, Regi...
4 Borifan Ararsa Fekena Male 1996-02-10 Oromia Adama 942814346 943814346 borif46ararsa@gmail.com University Adama Science and Technology University Amharic,Oromifa,English 2023/2015 Material Science and Engineering 3 Yes Yes No Candidate Not Employed Switched Off CandidateID: 4, StudentID: , Full_Name: Borifan Ararsa Fekena, Sex: Male, DOB: 1996-02-10, Age: 29, ...
5 Chala Olani Gamfure Male Oromia Adama 926367806 942942945 chalaolani1@gmail.com University Adama Science and Technology University amharic,english,oromifa 2023/2015 Electrical and Electronics Engineering 3.35 Yes Yes Yes Yes Yes No ESJR Job Fair Candidate Not Employed Switched Off CandidateID: 5, StudentID: , Full_Name: Chala Olani Gamfure, Sex: Male, DOB: , Age: , Region: Oromia...

Showing 5 sample records. Hover over cells to see full content.

chat_files

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
messageid int(11) Yes NULL Identifier field
files varchar(4000) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

chat_groups

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
groupname varchar(255) Yes NULL Name or title field
targetid varchar(255) Yes NULL Identifier field
grouptype int(11) Yes NULL
ownerid varchar(50) Yes NULL Identifier field

This table has no foreign key relationships.

No sample data available for this table.

chat_history

11 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
messages varchar(4000) Yes NULL
ownerid varchar(500) Yes NULL Identifier field
created varchar(100) Yes NULL Date/time field
isread varchar(500) Yes NULL
targetid varchar(500) Yes NULL Identifier field
tmp_file varchar(500) Yes NULL
status varchar(50) Yes NULL
status_created varchar(100) Yes NULL Date/time field
soundRecord mediumblob Yes NULL
isVideo int(11) Yes NULL Identifier field

This table has no foreign key relationships.

id messages ownerid created isread targetid tmp_file status status_created soundRecord isVideo
3 Hello 2 2024-05-03 18:45:51.515 1 1 []
4 hey 1 2024-05-03 18:46:24.653 2 2 []
5 1 2024-05-03 19:31:15.623 0 2 ["data:audio/mpeg;base64,GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQRChYECGFOAZwH/////////FUmpZpkq17G...
6 cancel 1 2024-06-18 17:06:01.437 0 2 2

Showing 4 sample records. Hover over cells to see full content.

chat_peopletype

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
name varchar(50) Yes NULL Name or title field

This table has no foreign key relationships.

id name
1 Add all members
2 Add specific people

Showing 2 sample records. Hover over cells to see full content.

chat_settings

25 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
timeperiod int(11) Yes NULL
findusers int(11) Yes NULL
soundpath varchar(500) Yes NULL
soundenable int(11) Yes NULL
videoenable int(11) Yes NULL Identifier field
provider varchar(50) Yes NULL Identifier field
RC_ClientID varchar(50) Yes NULL
RC_ClientSecret varchar(50) Yes NULL
RC_Account varchar(50) Yes NULL
RC_Password varchar(50) Yes NULL
Z_APIKey varchar(50) Yes NULL
Z_APISecret varchar(50) Yes NULL
saveInCloud int(11) Yes NULL
Z_Token varchar(500) Yes NULL
timezone varchar(100) Yes NULL
RC_APIServerURL varchar(100) Yes NULL
MS_ClientID varchar(100) Yes NULL
MS_ClientSecret varchar(100) Yes NULL
MS_TenantID varchar(100) Yes NULL
G_ClientID varchar(100) Yes NULL
G_ClientSecret varchar(100) Yes NULL
G_APIKey varchar(100) Yes NULL
WB_ClientID varchar(100) Yes NULL
WB_ClientSecret varchar(100) Yes NULL

This table has no foreign key relationships.

id timeperiod findusers soundpath soundenable videoenable provider RC_ClientID RC_ClientSecret RC_Account RC_Password Z_APIKey Z_APISecret saveInCloud Z_Token timezone RC_APIServerURL MS_ClientID MS_ClientSecret MS_TenantID G_ClientID G_ClientSecret G_APIKey WB_ClientID WB_ClientSecret
1 3 1 1 1 Zoom 0

Showing 1 sample records. Hover over cells to see full content.

chat_timezone

6 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
zoom varchar(100) Yes NULL
name varchar(100) Yes NULL Name or title field
rc varchar(100) Yes NULL
order int(11) Yes NULL
dotnet varchar(255) Yes NULL

This table has no foreign key relationships.

id zoom name rc order dotnet
38 Pacific/Honolulu Hawaii (UTC -10) 60 1 Hawaiian Standard Time
39 America/Anchorage Alaska (UTC -9) 59 2 Alaskan Standard Time
40 America/Los_Angeles Pacific Time (US and Canada) (UTC -8) 58 3 Pacific Standard Time
41 America/Denver Mountain Time (US and Canada) (UTC -7) 57 4 Mountain Standard Time
42 America/Chicago Central Time (US and Canada) (UTC -6) 53 5 Central Standard Time

Showing 5 sample records. Hover over cells to see full content.

chat_users

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
userid varchar(50) Yes NULL Identifier field
lastaccess datetime Yes NULL
isTyping varchar(500) Yes NULL
userpic mediumblob Yes NULL

This table has no foreign key relationships.

id userid lastaccess isTyping userpic
3 1 2024-06-18 18:02:24 0
4 2 2024-05-03 18:49:51 0
5 5 2024-06-18 06:28:08 0
6 6 2024-06-19 11:08:07 0
7 3 2024-06-05 15:35:44 0

Showing 5 sample records. Hover over cells to see full content.

cities

3 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CityID int(10) No NULL PRIMARY
CityName varchar(200) Yes NULL
RegionID int(10) No NULL FOREIGN
Column References Relationship
RegionID regions (RegionID) Many cities belong to one regions

Referenced By

Table Column References Relationship
sub_cities CityID cities (CityID) One cities has many sub_cities
CityID CityName RegionID
1 Addis Ababa 1
2 Bahir Dar 2
3 Gonder 2
4 Adama 3
5 Bishoftu 3

Showing 5 sample records. Hover over cells to see full content.

companies

8 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CompanyID int(10) No NULL PRIMARY
CompanyName varchar(200) No NULL
CompanyEmail varchar(200) Yes NULL
CompanyPhone varchar(13) Yes NULL
CompanyWebsite varchar(200) Yes NULL
CompanySector varchar(100) Yes NULL
CompanyProfile text Yes NULL
CompanyJob varchar(200) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

companysectors

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CompanySectorID int(11) No NULL PRIMARY
CompanySectorName varchar(200) Yes NULL

This table has no foreign key relationships.

CompanySectorID CompanySectorName
1 Service
2 Engineering
3 Finance
4 Service
5 Service

Showing 5 sample records. Hover over cells to see full content.

dashboard_pages

6 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
dashboard_id int(10) No NULL PRIMARY Identifier field
dashboard_name varchar(200) Yes NULL Name or title field
dashboard_category varchar(200) Yes NULL
dashboard_link varchar(300) Yes NULL
dashboard_file varchar(300) Yes NULL
dashboard_comments varchar(500) Yes NULL

This table has no foreign key relationships.

dashboard_id dashboard_name dashboard_category dashboard_link dashboard_file dashboard_comments
1 Candidate Candidate AIO https://derejademo.merqconsultancy.org/public/dashboard/7fe22d0e-2524-49c9-bab8-4073fb257913 [{"name":"files\/Status Update_1h5gteqz.docx","usrName":"Status Update.docx","size":27315,"type":"ap... <p>This are my comments</p>

Showing 1 sample records. Hover over cells to see full content.

dashboards

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
dashboard_commentid int(11) No NULL PRIMARY Identifier field
dashboard_comment varchar(500) Yes NULL
dashboard_commentdate datetime Yes NULL Date/time field
dashboard_userdetails varchar(200) Yes NULL
dashboard_commentfiles varchar(500) Yes NULL

This table has no foreign key relationships.

dashboard_commentid dashboard_comment dashboard_commentdate dashboard_userdetails dashboard_commentfiles
2 Over all is Good&nbsp; 2025-08-07 11:32:08 Nebiyat Hassen
3 the system is difficult to use&nbsp; 2025-08-14 09:01:20 Nebiyat Hassen [{"name":"files\/dashboardfiles\/MobileApp_Testcase_shr11pdg.pdf","usrName":"MobileApp_Testcase.pdf"...

Showing 2 sample records. Hover over cells to see full content.

departments

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
DepartmentID int(10) No NULL PRIMARY
DepartmentName varchar(200) Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
minor_major DepartmentID departments (DepartmentID) One departments has many minor_major
DepartmentID DepartmentName
1 Accounting
2 Business Administration
3 Economics
4 Information Technology
5 Medicine

Showing 5 sample records. Hover over cells to see full content.

dereja_academy_lms

13 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TraineeID int(11) No NULL PRIMARY
Full_Name varchar(255) Yes NULL
Email varchar(255) Yes NULL
Role varchar(50) Yes NULL
Progress varchar(50) Yes NULL
Score varchar(10) Yes NULL
Completion_date datetime Yes NULL Date/time field
Time varchar(50) Yes NULL
Gender varchar(10) Yes NULL
Phone varchar(20) Yes NULL
University varchar(255) Yes NULL
Department varchar(255) Yes NULL
Career_Choice varchar(255) Yes NULL

This table has no foreign key relationships.

TraineeID Full_Name Email Role Progress Score Completion_date Time Gender Phone University Department Career_Choice
1 MUHAMEDAMIN ABAFITA amanmustefa309@gmail.com Learner Not started Male 917869519 Jimma University Economics
2 Bereket Abate abateberihun26@gmail.com Learner Completed 21.11% 2023-03-17 23:52:31 7h 2m 48s Male 923015566 Addis Ababa University Management
3 zewdu abate abatezewdu84@gmail.com Learner Completed 20.00% 2023-03-24 01:26:00 4h 6m 14s Male 948141184 Haramaya University Geography And Environmental Studies
4 Sadam Abate abate.shallo@gmail.com Learner Completed 20.00% 2023-03-28 16:47:58 8h 49m 39s Male 919858006 Haramaya University Information Systems
5 AKEWAK ABATE Akewakabate79@gmail.com Learner Completed 18.89% 2023-04-03 10:58:14 12h 18m 39s Male 953780955 Addis Ababa Science and Technology University ELECTRICAL AND COMPUTER ENGINEERING

Showing 5 sample records. Hover over cells to see full content.

dereja_event_services

3 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
EventServiceID int(10) No NULL PRIMARY
ServiceID int(10) No NULL FOREIGN
EventID int(10) No NULL FOREIGN
Column References Relationship
EventID events (EventID) Many dereja_event_services belong to one events
ServiceID dereja_services (ServiceID) Many dereja_event_services belong to one dereja_services
EventServiceID ServiceID EventID
1 1 1
2 1 2
3 1 3
4 1 4
5 1 5

Showing 5 sample records. Hover over cells to see full content.

dereja_information_sources

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
SourceID int(10) No NULL PRIMARY
SourceName varchar(200) Yes NULL

This table has no foreign key relationships.

SourceID SourceName
1 From a friend
2 At Dereja campaign
3 From my instructors
4 From Dereja website
5 Telegram link

Showing 5 sample records. Hover over cells to see full content.

dereja_schema_fields

4 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
table_name varchar(255) No NULL FOREIGN Name or title field
field_name varchar(255) No NULL Name or title field
field_label varchar(255) No NULL
Column References Relationship
table_name dereja_tables (table_name) Many dereja_schema_fields belong to one dereja_tables
id table_name field_name field_label
1 training_organizers OrganizerID OrganizerID
2 training_organizers OrganizerName OrganizerName
3 dereja_tables table_id table_id
4 dereja_tables table_name table_name
5 Companies CompanyID CompanyID

Showing 5 sample records. Hover over cells to see full content.

dereja_services

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
ServiceID int(10) No NULL PRIMARY
ServiceName varchar(200) Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
dereja_event_services ServiceID dereja_services (ServiceID) One dereja_services has many dereja_event_services
dereja_training_services ServiceID dereja_services (ServiceID) One dereja_services has many dereja_training_services
ServiceID ServiceName
1 Events
2 Training
3 Student club membership
4 CDC
5 Dereja.com website registration

Showing 5 sample records. Hover over cells to see full content.

dereja_tables

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
table_id int(11) No NULL PRIMARY Identifier field
table_name varchar(255) No NULL UNIQUE Name or title field

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
dereja_schema_fields table_name dereja_tables (table_name) One dereja_tables has many dereja_schema_fields
table_id table_name
45 backup
58 calcalendar
4 calcategory
73 calfirstday
64 calglobals

Showing 5 sample records. Hover over cells to see full content.

dereja_training_services

3 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TrainingServiceID int(10) No NULL PRIMARY
ServiceID int(10) No NULL FOREIGN
TrainingID int(10) No NULL FOREIGN
Column References Relationship
ServiceID dereja_services (ServiceID) Many dereja_training_services belong to one dereja_services
TrainingID trainings (TrainingID) Many dereja_training_services belong to one trainings
TrainingServiceID ServiceID TrainingID
1 2 1
2 2 2
3 2 3
4 2 4
5 2 5

Showing 5 sample records. Hover over cells to see full content.

derejame_audit

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
datetime datetime No NULL Date/time field
ip varchar(40) No NULL
user varchar(255) Yes NULL
table varchar(300) Yes NULL
action varchar(250) No NULL
description mediumtext Yes NULL

This table has no foreign key relationships.

id datetime ip user table action description
1 2024-04-23 16:39:07 196.190.61.254 merqadmin derejame_users login
2 2024-04-23 16:47:44 196.190.61.254 merqadmin sub_cities add ---Keys SubCityID : 3 ---Fields SubCityName [new]: Bole CityID [new]: 1
3 2024-04-23 16:51:34 196.190.61.254 merqadmin sub_cities add ---Keys SubCityID : 4 ---Fields SubCityName [new]: Gulele CityID [new]: 1
4 2024-04-23 16:52:02 196.190.61.254 merqadmin sub_cities add ---Keys SubCityID : 5 ---Fields SubCityName [new]: Kirkos CityID [new]: 1
5 2024-04-23 16:55:07 196.190.61.254 merqadmin sub_cities edit ---Keys SubCityID : 2 ---Fields SubCityName [old]: Arada SubCityName [new]: Akaki Kality

Showing 5 sample records. Hover over cells to see full content.

derejame_noti

11 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
message mediumtext Yes NULL
user varchar(255) Yes NULL
provider varchar(5) Yes NULL Identifier field
title varchar(300) Yes NULL
url mediumtext Yes NULL
icon varchar(300) Yes NULL
created datetime Yes NULL Date/time field
expire datetime Yes NULL
type int(11) Yes NULL
group varchar(200) Yes NULL

This table has no foreign key relationships.

id message user provider title url icon created expire type group
1 New Region added: Tigray New category regions_view.php?editid1=5 fa-location 2024-04-12 16:15:35 0
2 {"lastRead":53} merqadmin 1
3 {"lastRead":1} flu44u0e796rdvkbein31febnb 1
4 {"lastRead":53} michaelktd 1
5 New Region added: Somali admin@merqconsultancy.org New category regions_view.php?editid1=6 fa-location 2024-04-12 16:20:38 0

Showing 5 sample records. Hover over cells to see full content.

derejame_settings

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
ID int(11) No NULL PRIMARY
TYPE int(11) Yes 1
NAME mediumtext Yes NULL
USERNAME mediumtext Yes NULL
COOKIE varchar(500) Yes NULL
SEARCH mediumtext Yes NULL
TABLENAME varchar(300) Yes NULL

This table has no foreign key relationships.

ID TYPE NAME USERNAME COOKIE SEARCH TABLENAME
1 3 0 kfoz6wj2stho7e02ju780xys [".dummyField"] candidates
2 3 0 admin [".dummyField"] candidates
3 3 0 merqadmin [".dummyField"] candidates
4 3 0 merqadmin [".dummyField","baseline_year","baseline_value"] Performance_Overview
5 3 0 Nebiyat [".dummyField","CandidateID"] candidates

Showing 5 sample records. Hover over cells to see full content.

derejame_uggroups

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
GroupID int(11) No NULL PRIMARY
Label varchar(300) Yes NULL
Provider varchar(10) Yes Identifier field
Comment mediumtext Yes NULL

This table has no foreign key relationships.

GroupID Label Provider Comment
1 Dereja Data Entry
2 Dereja M&E
3 Dereja Data Management

Showing 3 sample records. Hover over cells to see full content.

derejame_ugmembers

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
UserName varchar(255) No NULL PRIMARY
GroupID int(11) No NULL PRIMARY
Provider varchar(10) No PRIMARY Identifier field

This table has no foreign key relationships.

UserName GroupID Provider
Abel z 1
AbenezerB 1
abushk 3
admin -1
derejadata 3

Showing 5 sample records. Hover over cells to see full content.

derejame_ugrights

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TableName varchar(255) No NULL PRIMARY
GroupID int(11) No NULL PRIMARY
AccessMask varchar(10) Yes NULL
Page mediumtext Yes NULL

This table has no foreign key relationships.

TableName GroupID AccessMask Page
<global> -1 ADESPIM
<global> 1 S {"menu":true}
<global> 2 S {"menu":true}
<global> 3 S {"menu":true}
admin_comments -1 ADES

Showing 5 sample records. Hover over cells to see full content.

derejame_users

11 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
ID int(11) No NULL PRIMARY
username varchar(255) Yes NULL Name or title field
password varchar(255) Yes NULL
email varchar(255) Yes NULL Email address field
fullname varchar(255) Yes NULL Name or title field
groupid varchar(255) Yes NULL Identifier field
active int(11) Yes NULL
ext_security_id varchar(100) Yes NULL Identifier field
userpic mediumblob Yes NULL
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field

This table has no foreign key relationships.

ID username password email fullname groupid active ext_security_id userpic reset_token reset_date
1 merqadmin $2y$10$P5Nh99LKDrJtd/hdtlbG6uB5GtpKl96zAvg5ApHaOt7S8vKkOpgbG admin@merqconsultancy.org MERQ Consultancy Admin
2 michaelktd $2y$10$rRZjsDU6KO08bVWLnYSNAeGQdJd4kTyJNZmKvPM2gBLwubo1ROSHG michaelktd@gmail.com Michael Kifle Teferra
3 merqdev $2y$10$AUWRtkrxGfhV1JiA4YOqieGa8.No484HB.MO6p7LIz75wKFztz43O dev@merqconsultancy.org MERQ SYSTEM DEV
4 derejadata $2y$10$J28hD5PbogV3jTsg6vHvb.qoUxLreEyB4qLb8SET4aO9lbobh8Oe2 data@merqconsultancy.org Dereja Data Entry User
5 derejamel $2y$10$/bEBcU5SrLywb5XpgpFenuMFbIl1KyBnQ57ovMWBo1LhfGISEuaL6 mel@merqconsultancy.org Dereja MEL

Showing 5 sample records. Hover over cells to see full content.

disability_types

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
DisabilityID int(10) No NULL PRIMARY
Disability_Type varchar(200) Yes NULL

This table has no foreign key relationships.

DisabilityID Disability_Type
1 Physical disabilities (i.e. limitation in mobility)
2 Hearing disabilities (partial hearing loss to deafness)
3 Visual disabilities (poor vision or blindness)
4 Developmental or Intellectual disabilities
5 Mental health or psychiatric disabilities

Showing 5 sample records. Hover over cells to see full content.

doc_files

19 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
file mediumtext Yes NULL
description varchar(500) Yes NULL
hash varchar(100) Yes NULL
parent_folder_id int(11) Yes NULL Identifier field
ownerid int(11) Yes NULL Identifier field
file_type varchar(50) Yes NULL
name varchar(100) Yes NULL Name or title field
created datetime Yes NULL Date/time field
share_date date Yes NULL Date/time field
share_ro varchar(50) Yes NULL
share_type int(11) Yes NULL
share_users varchar(1000) Yes NULL
share_message varchar(3000) Yes NULL
share_sendto varchar(500) Yes NULL
share_needDate int(11) Yes NULL
downloads int(11) Yes NULL
share_startPoint varchar(1000) Yes NULL
thumb varchar(500) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

doc_files_versions

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
docid int(11) Yes NULL Identifier field
file varchar(1000) Yes NULL
ownerid int(11) Yes NULL Identifier field
created datetime Yes NULL Date/time field

This table has no foreign key relationships.

No sample data available for this table.

doc_savemethod

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
ID int(11) No NULL PRIMARY
mehodName varchar(50) Yes NULL
methodValue int(11) Yes NULL

This table has no foreign key relationships.

ID mehodName methodValue
1 Use physical directory structure 1
2 Store all files in the same physical folder 0

Showing 2 sample records. Hover over cells to see full content.

doc_settings

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
upload_path varchar(500) Yes NULL
isStructure varchar(50) Yes NULL
isVersions int(11) Yes NULL

This table has no foreign key relationships.

id upload_path isStructure isVersions
1 files 0 0

Showing 1 sample records. Hover over cells to see full content.

doc_users

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
email varchar(100) Yes NULL Email address field
password varchar(100) Yes NULL
usertype varchar(50) Yes NULL
name varchar(100) Yes NULL Name or title field
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field

This table has no foreign key relationships.

id email password usertype name reset_token reset_date
1 administrator@merqconsultancy.org $2y$10$Kfdzd1d41rKuEBych7aMwusIinYI4pUWb8gPzACcIRYbpaQy/pi3K admin
3 admin@merqconsultancy.org $2y$10$S8pTo3oMkDLF6TdzTNW3L.v4BYjbHU7pSpWw/FJJDxFlGJ5zffefO user MERQ Consultancy System Administrator

Showing 2 sample records. Hover over cells to see full content.

education_levels

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
EducationLevelID int(10) No NULL PRIMARY
EducationLevelName varchar(200) Yes NULL

This table has no foreign key relationships.

EducationLevelID EducationLevelName
1 1st Year
2 2nd Year
3 3rd Year
4 4th Year
5 5th Year

Showing 5 sample records. Hover over cells to see full content.

employment_status

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
empstat_id int(10) No NULL PRIMARY Identifier field
employment_status varchar(255) Yes NULL

This table has no foreign key relationships.

empstat_id employment_status
1 Wage Employed
2 Self-Employed
3 Not Employed

Showing 3 sample records. Hover over cells to see full content.

event_participants

24 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
EventID int(10) No NULL PRIMARY
CandidateID int(10) No NULL PRIMARY Identifier field
StudentID varchar(200) Yes NULL
Event_Start_Date date Yes NULL
Event_End_Date date Yes NULL
Event_Round int(10) Yes NULL
Event_Organizer varchar(50) Yes NULL
Event_Location varchar(50) Yes NULL
Event_Note varchar(255) Yes NULL
First_Name varchar(200) Yes NULL
Middle_Name varchar(200) Yes NULL Identifier field
Last_Name varchar(200) Yes NULL
Sex varchar(10) Yes NULL
Phone varchar(200) Yes NULL
Email varchar(200) Yes NULL
Disability_Status varchar(10) Yes NULL
Disability_Type int(200) Yes NULL
Disability_Type_Other int(200) Yes NULL
Participant_Type varchar(200) Yes NULL
Participant_Field_of_Study varchar(200) Yes NULL
Participant_Organization_Type varchar(200) Yes NULL
Participant_Organization_Name varchar(200) Yes NULL
Participant_Home_Address varchar(200) Yes NULL
Date date Yes NULL
Column References Relationship
CandidateID candidates (CandidateID) Many event_participants belong to one candidates
EventID events (EventID) Many event_participants belong to one events

No sample data available for this table.

events

8 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
EventID int(11) No NULL PRIMARY
EventName varchar(50) Yes NULL
Event_Round int(10) Yes NULL
Event_Start_Date date Yes NULL
Event_End_Date date Yes NULL
Event_Organizer varchar(50) Yes NULL
Event_Location varchar(50) Yes NULL
Event_Note varchar(255) Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
dereja_event_services EventID events (EventID) One events has many dereja_event_services
event_participants EventID events (EventID) One events has many event_participants
EventID EventName Event_Round Event_Start_Date Event_End_Date Event_Organizer Event_Location Event_Note
1 Job Fair 1 2024-01-01 2024-02-01 Dereja Millenium Hall
2 Online event Dereja
3 Campaign Dereja
4 Focus group discussion Dereja
5 Breakfast Forum Dereja

Showing 5 sample records. Hover over cells to see full content.

faicons

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
icon varchar(50) Yes NULL

This table has no foreign key relationships.

id icon
2 fa-glass
3 fa-music
4 fa-search
5 fa-envelope-o
6 fa-heart

Showing 5 sample records. Hover over cells to see full content.

hd_categories

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
categoryname varchar(255) Yes NULL Name or title field

This table has no foreign key relationships.

id categoryname
1 Support Question
2 Technical Issue
3 Billing Question
4 Sales Question
5 General Question

Showing 5 sample records. Hover over cells to see full content.

hd_directions

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
directionname varchar(255) Yes NULL Name or title field

This table has no foreign key relationships.

id directionname
1 incoming
2 outgoing
3 internal

Showing 3 sample records. Hover over cells to see full content.

hd_folders

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
foldername varchar(255) Yes NULL Name or title field
lastticket datetime Yes NULL

This table has no foreign key relationships.

id foldername lastticket
1 General 2021-10-29 08:31:28
2 Spam
3 Trash
5 Test Folder

Showing 4 sample records. Hover over cells to see full content.

hd_mailtemplates

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
user_id int(11) Yes NULL Identifier field
template mediumtext Yes NULL
type varchar(30) Yes NULL

This table has no foreign key relationships.

id user_id template type
9 1 Reply
10 3 Reply
11 8 Reply
12 9 Reply
13 10 Reply

Showing 5 sample records. Hover over cells to see full content.

hd_messages

18 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
created datetime No NULL Date/time field
body mediumtext Yes NULL
to_email varchar(1024) Yes NULL Email address field
subject varchar(512) Yes NULL
message_id varchar(255) Yes NULL Identifier field
maildate datetime Yes NULL Date/time field
from_email varchar(255) Yes NULL Email address field
to_name varchar(255) Yes NULL Name or title field
from_name varchar(255) Yes NULL Name or title field
attachment mediumtext Yes NULL
cc varchar(512) Yes NULL
bcc varchar(512) Yes NULL
server_id int(11) Yes NULL Identifier field
ticketid int(11) Yes NULL Identifier field
directionid int(11) Yes NULL Identifier field
statusid int(11) Yes NULL Identifier field
categoryid int(11) Yes NULL Identifier field

This table has no foreign key relationships.

id created body to_email subject message_id maildate from_email to_name from_name attachment cc bcc server_id ticketid directionid statusid categoryid
826 2021-07-12 08:58:22 I have created a Rest API view that displays data when the user provides a filter on the view page. ... testdevmail2@mail.com Can 10.5 insert data to a table from an API View 2021-07-12 08:58:22 customer@test.com Alina Molchanova 1 1 1 5
827 2021-07-12 08:59:08 does anyone know if it is possible to connect to a SQL linked server? i have looked and tried but th... testdevmail2@mail.com PHPRunner Connections 2021-07-12 08:59:08 customer@test.com Alina Molchanova 2 1 1 1
828 2021-07-12 08:59:58 This morning when I open my Project, and Build, I receive this error on about 80% of my Tables.<br>I... testdevmail2@mail.com What can cause this PHP errors on almost all Files 2021-07-12 08:59:58 customer@test.com Alina Molchanova 3 1 1 1
829 2021-07-12 09:02:41 Hello!<br><br>You have 2 backticks instead of table name, in your SQL statement after FROM. It could... customer@test.com What can cause this PHP errors on almost all Files DSS-TP1MIB 2021-07-12 09:02:41 testdevmail2@mail.com Alina Molchanova 3 2 3
830 2024-05-29 18:07:14 Can you help me test@mail.com Test Ticket 2024-05-29 18:07:14 michaelktd7@gmail.com John Do 4 1 1 6

Showing 5 sample records. Hover over cells to see full content.

hd_priorities

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
priorityname varchar(255) Yes NULL Name or title field

This table has no foreign key relationships.

id priorityname
1 Critical
2 High
3 Medium
4 Low

Showing 4 sample records. Hover over cells to see full content.

hd_quicktemplates

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
name varchar(100) Yes NULL Name or title field
title varchar(200) Yes NULL
template_content mediumtext Yes NULL

This table has no foreign key relationships.

id name title template_content
1 tp Test template Some test content line 1 line 2

Showing 1 sample records. Hover over cells to see full content.

hd_servers

8 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
server varchar(100) Yes NULL
user varchar(100) Yes NULL
password varchar(100) Yes NULL
interval int(11) Yes NULL
leave_copy int(11) Yes NULL
lastconnect datetime Yes NULL
port int(11) Yes NULL

This table has no foreign key relationships.

id server user password interval leave_copy lastconnect port
3 imap.gmail.com 1 1 2021-10-29 08:31:28 993

Showing 1 sample records. Hover over cells to see full content.

hd_settings

12 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
attachment_folder varchar(512) Yes NULL
isReply int(11) Yes NULL
to varchar(100) Yes NULL
subject varchar(500) Yes NULL
body mediumtext Yes NULL
fromName varchar(100) Yes NULL
fromEmail varchar(100) Yes NULL
knowledge_base tinyint(4) Yes NULL
who_is_online tinyint(4) Yes NULL
emaildays int(11) Yes NULL Email address field
folder varchar(100) Yes NULL

This table has no foreign key relationships.

id attachment_folder isReply to subject body fromName fromEmail knowledge_base who_is_online emaildays folder
1 files 1 %from% Re: %subject% We have received your email. ---------------------- %body% Dereja M&E Helpdesk support@derejadev.merqconsultancy.org 1 1 0 fetch INBOX emails only

Showing 1 sample records. Hover over cells to see full content.

hd_status

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
statusname varchar(255) Yes NULL Name or title field
statuscolor varchar(10) Yes NULL

This table has no foreign key relationships.

id statusname statuscolor
1 Unprocessed #ffdddc
2 In process #ffcc62
3 Answered #64ff9a
4 Follow-up #6198ea
5 Closed #d6d1d5

Showing 5 sample records. Hover over cells to see full content.

hd_tickets

13 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
created datetime No NULL Date/time field
updated datetime Yes NULL Date/time field
subject varchar(500) Yes NULL
statusid int(11) Yes NULL Identifier field
priorityid int(11) Yes NULL Identifier field
folderid int(11) Yes NULL Identifier field
categoryid int(11) Yes NULL Identifier field
directionid int(11) Yes NULL Identifier field
ticketemail varchar(500) Yes NULL Email address field
assignedid int(11) Yes NULL Identifier field
clientid int(11) Yes NULL Identifier field
client_status int(11) Yes NULL

This table has no foreign key relationships.

id created updated subject statusid priorityid folderid categoryid directionid ticketemail assignedid clientid client_status
4 2024-05-29 18:07:14 2024-05-29 18:07:14 Test Ticket 1 3 1 6 1 michaelktd7@gmail.com 7 6 7

Showing 1 sample records. Hover over cells to see full content.

hd_todolist

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
ticketid int(11) Yes NULL Identifier field
completed tinyint(4) Yes NULL
task mediumtext Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

hd_users

12 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
username varchar(255) Yes NULL Name or title field
password varchar(255) Yes NULL
usertype varchar(255) Yes NULL
fullname varchar(255) Yes NULL Name or title field
active int(11) Yes NULL
last_activity datetime Yes NULL
viewing_page varchar(500) Yes NULL
repling_in varchar(50) Yes NULL
supporterView varchar(50) Yes NULL
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field

This table has no foreign key relationships.

id username password usertype fullname active last_activity viewing_page repling_in supporterView reset_token reset_date
1 admin@merqconsultancy.org $2y$10$vEipZEArooFOmP2fklDZC.GsLbWv/S7ZOS16cxbPr/.Oa2KbG9bGu admin MERQ Consultancy 2024-06-12 12:50:57 -
4 administrator@merqconsultancy.org $2y$10$eUPf6fo/CuQMHokyRJ2vAup/jL.kc.9zE1Ahr7HKxJ7chdS4PQ/ka admin MERQ Consultancy 2024-05-29 18:28:27 -
5 michaelktd@gmail.com $2y$10$m1ZsR4P3KEQLyvopy6EHGONnFKS8iBcqrTvSlwOO27ZANX.wzAS66 user Michael 2024-05-29 18:02:47 - View assigned tickets only
6 michaelktd7@gmail.com $2y$10$ycZ00ZnNaIYNC8IT/ch1te.vSEy5a6jFZbUvlU58xWY2dVr5OGQe2 customer Mike 2024-05-29 18:13:13 -
7 support@derejadev.merqconsultancy.org $2y$10$I.F6OKEFGSpqSbRg23fQzOoq2AJ86ktHy64KcAdcRGY2aP3PFqAX. user Dereja ME Support Help Desk 2024-05-29 18:25:01 - View all tickets

Showing 5 sample records. Hover over cells to see full content.

indicator_targets

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
IndicatorID int(10) No NULL PRIMARY
IndicatorName varchar(200) Yes NULL
IndicatorDescription varchar(200) Yes NULL
IndicatorValue int(20) Yes NULL
IndicatorTarget int(20) Yes NULL

This table has no foreign key relationships.

IndicatorID IndicatorName IndicatorDescription IndicatorValue IndicatorTarget
1 Career path orientation Number of students identified career goals and interests 75 36000
2 Alumni Associations and Network Number of candidates joined Alumni network 15 600
3 Campaigns and promotions to enroll students for Dereja services Number of students enrolled for Dereja services as a result of the campaign promotion 41 210000

Showing 3 sample records. Hover over cells to see full content.

industry_specific_skills

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
SkillID int(10) No NULL PRIMARY
SkillName varchar(200) Yes NULL

This table has no foreign key relationships.

SkillID SkillName
1 Quick Books
2 MS Word
3 Excel
4 ERP
5 CRM

Showing 5 sample records. Hover over cells to see full content.

institution_types

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
InstitutionTypeID int(10) No NULL PRIMARY
InstitutionTypeName varchar(200) Yes NULL

This table has no foreign key relationships.

InstitutionTypeID InstitutionTypeName
1 University
2 TVET
3 College
4 Others

Showing 4 sample records. Hover over cells to see full content.

job_categories

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CategoryID int(10) No NULL PRIMARY
CategoryName varchar(100) No NULL

This table has no foreign key relationships.

CategoryID CategoryName
1 Engineer

Showing 1 sample records. Hover over cells to see full content.

job_fair

9 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
First_Name varchar(200) Yes NULL
Middle_Name varchar(200) Yes NULL Identifier field
Last_Name varchar(200) Yes NULL
Full_Name varchar(200) Yes NULL
Gender varchar(50) Yes NULL
Phone_Number varchar(50) Yes NULL
Email varchar(200) Yes NULL
University varchar(200) Yes NULL
Department varchar(200) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

job_types

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TypeID int(10) No NULL PRIMARY
TypeName varchar(50) No NULL

This table has no foreign key relationships.

TypeID TypeName
1 Full Time
2 Contract
3 Internship
4 rrerfe

Showing 4 sample records. Hover over cells to see full content.

jobs

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
JobID int(10) No NULL PRIMARY
JobName varchar(200) No NULL
JobCategory varchar(100) Yes NULL
JobType varchar(50) Yes NULL
JobPosition varchar(200) Yes NULL
JobDetails text Yes NULL
CompanyName varchar(200) Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
candidate_employment_tracker JobID jobs (JobID) One jobs has many candidate_employment_tracker

No sample data available for this table.

kbarticles

11 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
approved varchar(5) Yes NULL
ArticleID int(11) No NULL
Category varchar(50) Yes NULL
DateCreated date Yes NULL
Problem mediumtext Yes NULL
Solution mediumtext Yes NULL
Title varchar(250) Yes NULL
Views int(11) Yes NULL
Keyworlds varchar(1000) Yes NULL
likecount int(11) Yes NULL
dislikecount int(11) Yes NULL

This table has no foreign key relationships.

approved ArticleID Category DateCreated Problem Solution Title Views Keyworlds likecount dislikecount
12 Getting Started 2024-05-27 <p>Creating an account and accessing the system</p> <p>To create an account and register on the system.</p> <p>1. Click on the <a href="../../login.php... How to Register on Dereja M&E System 145 3
13 Tips & Tutorials 2024-05-27 <p>Changing Account Password</p> <p>To change your account password Click on your account profile on the upper right corner.&nbsp;</p... How to change account password 86 1
14 Troubleshooting 2024-05-27 <p>Dashboard or Page Content unable to be displayed correctly</p> <p>If you are unable to view dashboard or page contents correctly,&nbsp;</p> <p>- Make sure you hav... Unable to view page contents correctly 107 1
0 General Questions 2024-05-29 Getting Help Through The Help Desk Portal Contact Help Desk Portal to Get Support! Contact Help Desk through the system 89 Helpdesk

Showing 4 sample records. Hover over cells to see full content.

kbcategories

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
Category varchar(50) Yes NULL
CategoryID int(11) No NULL PRIMARY
Description varchar(500) Yes NULL
faicon varchar(50) Yes NULL

This table has no foreign key relationships.

Category CategoryID Description faicon
Getting Started 5 Basic workflows and how to use the system are found here. fa-flag-checkered
Tips & Tutorials 6 Lear and get to know how to operate and navigate through the system. fa-lightbulb-o
Troubleshooting 7 Get started here to understand the best ways to resolve and find solutions for encounters. fa-wrench
General Questions 8 General Questions and Help Desk Contents fa-question-circle

Showing 4 sample records. Hover over cells to see full content.

kbcomments

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
name varchar(50) Yes NULL Name or title field
moderated int(11) Yes NULL
created_date datetime Yes NULL Date/time field
ArticleID int(11) Yes NULL
comment mediumtext Yes NULL
CommentID int(11) No NULL PRIMARY
email varchar(250) Yes NULL Email address field

This table has no foreign key relationships.

No sample data available for this table.

kbusers

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
email varchar(50) Yes NULL Email address field
fullname varchar(50) Yes NULL Name or title field
password varchar(100) Yes NULL
username varchar(50) Yes NULL Name or title field
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field
id int(11) No NULL PRIMARY Identifier field

This table has no foreign key relationships.

email fullname password username reset_token reset_date id
administrator@merqconsultancy.org MERQ Consultancy $2y$10$lkUaYwaa8zV7uFSlbh1XKOPeA6wj1AXL7QZWrBcxCL/37S8K0m5FS admin aeu7f3q7w24uct6pv345 2024-05-27 17:52:20 1
admin@merqconsultancy.org MERQ Consultancy System Administrator $2y$10$lkUaYwaa8zV7uFSlbh1XKOPeA6wj1AXL7QZWrBcxCL/37S8K0m5FS merqadmin 2
michaelktd@merqconsultancy.org Michael Kifle Teferra $2y$10$FDfv/kF7SDFPy5Cdag0tROLkH8krGvLDObTilHgRvz1QvqDdJ0N8m michaelktd 3

Showing 3 sample records. Hover over cells to see full content.

languages

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
Language_ID int(10) No NULL PRIMARY
Language_Name varchar(200) Yes NULL

This table has no foreign key relationships.

Language_ID Language_Name
1 Amharic
2 English
3 Gurage
4 Oromifa
5 Tigrigna

Showing 5 sample records. Hover over cells to see full content.

minor_major

4 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
MinorMajorID int(10) No NULL PRIMARY
DepartmentID int(10) No NULL FOREIGN
MinorName varchar(200) Yes NULL
MajorName varchar(200) Yes NULL
Column References Relationship
DepartmentID departments (DepartmentID) Many minor_major belong to one departments
MinorMajorID DepartmentID MinorName MajorName
1 4 Mathematics Software Engineering

Showing 1 sample records. Hover over cells to see full content.

mne_business_initiative

6 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(10) unsigned No NULL PRIMARY Identifier field
name varchar(255) No NULL Name or title field
description text Yes NULL
start_date date No NULL Date/time field
end_date date Yes NULL Date/time field
department_id tinyint(3) unsigned Yes NULL FOREIGN Identifier field
Column References Relationship
department_id mne_department (id) Many mne_business_initiative belong to one mne_department

Referenced By

Table Column References Relationship
mne_initiative_activity initiative_id mne_business_initiative (id) One mne_business_initiative has many mne_initiative_activity
id name description start_date end_date department_id
2 Digital Literacy Program Training on basic and intermediate digital skills 2024-01-01 2024-12-31 4
3 National Career Expo Demo Description 2025-01-21 1925-02-22 6

Showing 2 sample records. Hover over cells to see full content.

mne_calculated_kpis

7 columns Description
Structure
Relationships
Sample Data
Description
Column Type Nullable Default Key Description
id int(10) unsigned No 0 Identifier field
code varchar(50) No NULL
name varchar(255) No NULL Name or title field
formula varchar(500) Yes NULL
unit varchar(50) No NULL
department varchar(50) No NULL
description text Yes NULL

This table has no foreign key relationships.

id code name formula unit department description
3 TS_VPR Value Per Role Total revenue / Number of placements USD Talent Search Average revenue per placement
4 FIN_NETREV Net Revenue Total revenue - (Returns + Allowances + Discounts) USD Finance Total revenue minus deductions
5 FIN_NETINC Net Income Net Revenue - Total Expense USD Finance Total revenue minus total expenses

Showing 3 sample records. Hover over cells to see full content.

Table Description

VIEW

mne_department

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id tinyint(3) unsigned No NULL PRIMARY Identifier field
name varchar(50) No NULL UNIQUE Name or title field
code varchar(10) No NULL UNIQUE
description text Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
mne_business_initiative department_id mne_department (id) One mne_department has many mne_business_initiative
mne_financial_expense department_id mne_department (id) One mne_department has many mne_financial_expense
mne_kpi department_id mne_department (id) One mne_department has many mne_kpi
id name code description
1 HR Technology u HR Tech services including job postings and subscriptions
2 Talent Search TS Recruitment and talent acquisition services
3 Events EVT Job fairs, career expos, and internal events
4 Workforce Development WFD Internships, training programs, and employment initiatives
5 Finance FIN Financial operations and accounting

Showing 5 sample records. Hover over cells to see full content.

mne_expense_type

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id smallint(5) unsigned No NULL PRIMARY Identifier field
name varchar(100) No NULL UNIQUE Name or title field
description text Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
mne_financial_expense expense_type_id mne_expense_type (id) One mne_expense_type has many mne_financial_expense
id name description
2 Publication Partnership Budget for publishing partnership deliverables
3 Placement Tracking Tracking tool or staff-related budget
4 Career Compass Investment in Career Compass initiative
5 DAAP Expenditure related to DAAP delivery
6 Digital Literacy Funds for digital training programs

Showing 5 sample records. Hover over cells to see full content.

mne_financial_expense

6 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(10) unsigned No NULL PRIMARY Identifier field
department_id tinyint(3) unsigned No NULL FOREIGN Identifier field
expense_type_id smallint(5) unsigned No NULL FOREIGN Identifier field
amount decimal(15,2) No NULL
period date No NULL
description text Yes NULL
Column References Relationship
department_id mne_department (id) Many mne_financial_expense belong to one mne_department
expense_type_id mne_expense_type (id) Many mne_financial_expense belong to one mne_expense_type
id department_id expense_type_id amount period description
2 3 11 2500.00 2024-10-01 Event coordination fees
3 2 2 12345678.00 1942-08-12 lkjhgfdfghj
4 2 2 889.00 1942-11-08 jfdjghfhjdjdjdhj

Showing 3 sample records. Hover over cells to see full content.

mne_financial_summary

7 columns Description
Structure
Relationships
Sample Data
Description
Column Type Nullable Default Key Description
department varchar(50) No NULL
kpi varchar(255) No NULL
code varchar(50) No NULL
period date No NULL
value decimal(20,4) Yes NULL
disaggregation_key varchar(100) Yes NULL
disaggregation_value varchar(100) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

Table Description

VIEW

mne_initiative_activity

7 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(10) unsigned No NULL PRIMARY Identifier field
initiative_id int(10) unsigned No NULL FOREIGN Identifier field
activity_date date No NULL Date/time field
activity text No NULL
progress_pct decimal(5,2) Yes NULL
remarks text Yes NULL
kpi_id int(10) unsigned Yes NULL FOREIGN Identifier field
Column References Relationship
kpi_id mne_kpi (id) Many mne_initiative_activity belong to one mne_kpi
initiative_id mne_business_initiative (id) Many mne_initiative_activity belong to one mne_business_initiative

No sample data available for this table.

mne_kpi

10 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(10) unsigned No NULL PRIMARY Identifier field
department_id tinyint(3) unsigned No NULL FOREIGN Identifier field
name varchar(255) No NULL Name or title field
code varchar(50) No NULL UNIQUE
unit varchar(50) No NULL
reporting_frequency enum('Daily','Weekly','Monthly','Quarterly','Annual') No Monthly
formula varchar(500) Yes NULL
disaggregation varchar(255) Yes NULL
description text Yes NULL
is_calculated tinyint(1) No 0
Column References Relationship
department_id mne_department (id) Many mne_kpi belong to one mne_department

Referenced By

Table Column References Relationship
mne_initiative_activity kpi_id mne_kpi (id) One mne_kpi has many mne_initiative_activity
mne_kpi_value kpi_id mne_kpi (id) One mne_kpi has many mne_kpi_value
id department_id name code unit reporting_frequency formula disaggregation description is_calculated
1 1 Total income generated from HR Tech services HRT_REV USD Monthly This indicator describes incomes generated from job postings, subscription packages, and platform-re... 0
2 1 Number of unique clients engaged with HR Tech services HRT_CLIENTS Count Monthly This indicator describes the Client/organizations engaged with AJN to employee staffs. 0
3 2 Value Per Role TS_VPR USD Monthly Total revenue / Number of placements Average revenue per placement 1
4 5 Net Revenue FIN_NETREV USD Monthly Total revenue - (Returns + Allowances + Discounts) Total revenue minus deductions 1
5 5 Net Income FIN_NETINC USD Monthly Net Revenue - Total Expense Total revenue minus total expenses 1

Showing 5 sample records. Hover over cells to see full content.

mne_kpi_value

8 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id bigint(20) unsigned No NULL PRIMARY Identifier field
kpi_id int(10) unsigned No NULL FOREIGN Identifier field
period date No NULL FOREIGN
value decimal(20,4) Yes NULL
text_value text Yes NULL
disaggregation_key varchar(100) Yes NULL
disaggregation_value varchar(100) Yes NULL
created_at timestamp No current_timestamp() Date/time field
Column References Relationship
kpi_id mne_kpi (id) Many mne_kpi_value belong to one mne_kpi
id kpi_id period value text_value disaggregation_key disaggregation_value created_at
1 1 2024-10-01 15000.0000 2025-07-30 21:00:00

Showing 1 sample records. Hover over cells to see full content.

mne_operational_kpis

7 columns Description
Structure
Relationships
Sample Data
Description
Column Type Nullable Default Key Description
department varchar(50) No NULL
kpi varchar(255) No NULL
code varchar(50) No NULL
period date No NULL
value decimal(20,4) Yes NULL
disaggregation_key varchar(100) Yes NULL
disaggregation_value varchar(100) Yes NULL

This table has no foreign key relationships.

department kpi code period value disaggregation_key disaggregation_value
HR Technology Total income generated from HR Tech services HRT_REV 2024-10-01 15000.0000

Showing 1 sample records. Hover over cells to see full content.

Table Description

VIEW

participant_organization_types

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
OrganizationTypeID int(10) No NULL PRIMARY
OrganizationTypeName varchar(200) Yes NULL

This table has no foreign key relationships.

OrganizationTypeID OrganizationTypeName
1 Candidate
2 Employer (Public)
3 Employer (Private)
4 Instructors
5 Coordinator (CDC)

Showing 5 sample records. Hover over cells to see full content.

performance_indicators

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
indicator_id int(11) No NULL PRIMARY Identifier field
indicator_name varchar(255) No NULL UNIQUE Name or title field
unit_of_measurement varchar(50) No NULL
reporting_frequency varchar(50) No NULL
actual_setting text Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
performance_tracking indicator_id performance_indicators (indicator_id) One performance_indicators has many performance_tracking
indicator_id indicator_name unit_of_measurement reporting_frequency actual_setting
1 Proportion of functional career development centers Percentage Quarterly
2 Knowledge and attitude among university management staff on youth employability Percentage Annually
3 Proportion of university instructors become a trainer after TOT training Percentage Quarterly
4 Number of candidates joined/utilized career development centers Number Quarterly SELECT COUNT(*) AS TotalCandidatesJoined FROM candidates WHERE Joined_Dereja_Services ...
5 Proportion of CDCs with assigned human resource Percentage Quarterly

Showing 5 sample records. Hover over cells to see full content.

performance_tracking

4 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
tracking_id int(11) No NULL PRIMARY Identifier field
indicator_id int(11) No NULL FOREIGN Identifier field
baseline_year year(4) Yes NULL
baseline_value decimal(10,2) Yes NULL
Column References Relationship
indicator_id performance_indicators (indicator_id) Many performance_tracking belong to one performance_indicators

Referenced By

Table Column References Relationship
performance_years tracking_id performance_tracking (tracking_id) One performance_tracking has many performance_years
tracking_id indicator_id baseline_year baseline_value
1 1
2 2
3 3
4 1
5 4

Showing 5 sample records. Hover over cells to see full content.

performance_years

5 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
tracking_id int(11) No NULL FOREIGN Identifier field
year year(4) No NULL
target decimal(10,2) Yes NULL
actual decimal(18,4) Yes NULL
Column References Relationship
tracking_id performance_tracking (tracking_id) Many performance_years belong to one performance_tracking
id tracking_id year target actual
1 1 2024 18.00
2 2 2024 18.00
3 3 2024 100.00
4 4 2023 70.00
5 5 2024 20000.00 593.0000

Showing 5 sample records. Hover over cells to see full content.

professions

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
ProfessionID int(10) No NULL PRIMARY
ProfessionName varchar(200) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

program_areas

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
AreaID int(10) No NULL PRIMARY
AreaName varchar(200) Yes NULL

This table has no foreign key relationships.

AreaID AreaName
1 Job Fair
2 Website
3 DAAP

Showing 3 sample records. Hover over cells to see full content.

regions

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
RegionID int(10) No NULL PRIMARY
RegionName varchar(200) Yes NULL
Lat decimal(20,10) Yes NULL
Lng decimal(20,10) Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
cities RegionID regions (RegionID) One regions has many cities
RegionID RegionName Lat Lng
1 Addis Ababa 8.9806034000 38.7577605000
2 Amhara 11.3494247000 37.9784585000
3 Oromia 7.5460377000 40.6346851000
4 Afar 11.7559388000 40.9586880000
5 Tigray 14.0323336000 38.3165725000

Showing 5 sample records. Hover over cells to see full content.

settings

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
tablename varchar(50) Yes NULL Name or title field
field varchar(50) Yes NULL
label varchar(100) Yes NULL
visible tinyint(4) Yes 0
readonly tinyint(4) Yes 0
required tinyint(4) Yes 0

This table has no foreign key relationships.

id tablename field label visible readonly required
1 candidates Remark Remarks 1 0 0
2 candidates candidate_data Candidate Data 1 0 0
3 candidates Department Department 1 0 0
4 candidates Intervention Intervention 1 0 0

Showing 4 sample records. Hover over cells to see full content.

share_type

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
share_type varchar(50) Yes NULL

This table has no foreign key relationships.

id share_type
1 Selected users
2 All users
3 Share via link
4 Do not share

Showing 4 sample records. Hover over cells to see full content.

skills

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
SkillID int(10) No NULL PRIMARY
SkillName varchar(200) Yes NULL

This table has no foreign key relationships.

SkillID SkillName
1 Problem Solving
2 Team Work

Showing 2 sample records. Hover over cells to see full content.

sub_cities

3 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
SubCityID int(10) No NULL PRIMARY
SubCityName varchar(200) Yes NULL
CityID int(10) No NULL FOREIGN
Column References Relationship
CityID cities (CityID) Many sub_cities belong to one cities

Referenced By

Table Column References Relationship
zones SubCityID sub_cities (SubCityID) One sub_cities has many zones
SubCityID SubCityName CityID
1 Addis Ketema 1
2 Akaki Kality 1
3 Arada 1
4 Bole 1
5 Gulele 1

Showing 5 sample records. Hover over cells to see full content.

sv_answer_options

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
question_id int(11) Yes NULL Identifier field
text varchar(200) Yes NULL
sortorder int(11) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

sv_conditions

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
condition varchar(50) Yes NULL
type_question varchar(10) Yes NULL

This table has no foreign key relationships.

id condition type_question
1 Equals T
2 Less than T
3 More than T
4 Equals or less than T
5 Equals or more than T

Showing 5 sample records. Hover over cells to see full content.

sv_format_date

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
format varchar(50) Yes NULL
description varchar(50) Yes NULL

This table has no foreign key relationships.

id format description
1 yyyy-mm-dd yy-mm-dd
2 d m, yy Short - d m, y
3 d M, yy Medium - d M, y
4 D, d M, yyyy Full - D, d M, Y
6 mm/dd/yyyy mm/dd/yy

Showing 5 sample records. Hover over cells to see full content.

sv_groups

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
sid int(11) No NULL Identifier field
name varchar(100) Yes NULL Name or title field
sortorder int(11) Yes NULL
description mediumtext Yes NULL

This table has no foreign key relationships.

id sid name sortorder description
1 1 Personal Information 1 Demography and Basic Candidate Information

Showing 1 sample records. Hover over cells to see full content.

sv_helpquestion_viewtype

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
orientation varchar(1) No NULL PRIMARY
description varchar(100) No NULL

This table has no foreign key relationships.

orientation description
R To the right of the question
U Under the text of the question

Showing 2 sample records. Hover over cells to see full content.

sv_question_details

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
question_id int(11) No NULL Identifier field
text mediumtext No NULL
sortorder int(11) Yes NULL

This table has no foreign key relationships.

id question_id text sortorder
1 4 Female 2
2 4 Male 1
3 8 NO 2
4 8 YES 1

Showing 4 sample records. Hover over cells to see full content.

sv_question_types

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
type varchar(1) No NULL PRIMARY
description mediumtext No NULL

This table has no foreign key relationships.

type description
A List
B List (5 point choice)
C List (10 point choice)
D Dropdown box
E Date

Showing 5 sample records. Hover over cells to see full content.

sv_questions

17 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
parent_id int(11) Yes NULL Identifier field
sid int(11) No NULL Identifier field
group_id int(11) No NULL Identifier field
type varchar(1) No NULL
question mediumtext Yes NULL
help_orientation varchar(1) Yes R
regex mediumtext Yes NULL
required int(11) Yes 0
help mediumtext Yes NULL
sortorder int(11) Yes NULL
other int(11) Yes 0
int_only int(11) Yes 0
max_length int(11) Yes NULL
file_extensions varchar(100) Yes NULL
max_num_of_files int(11) Yes NULL
max_file_size int(11) Yes NULL

This table has no foreign key relationships.

id parent_id sid group_id type question help_orientation regex required help sortorder other int_only max_length file_extensions max_num_of_files max_file_size
1 1 1 T First Name 1 0 0
2 1 1 T Middle Name 1 Your Father's Name 0 0
3 1 1 T Last Name 1 Your Grandfather's Name 0 0
4 1 1 R Gender 1 0 0
5 1 1 T University attending 1 0 0

Showing 5 sample records. Hover over cells to see full content.

sv_report

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
created datetime Yes NULL Date/time field
ip varchar(50) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

sv_scenarios

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
qid int(11) Yes NULL Identifier field
quest int(11) Yes NULL
condition varchar(50) Yes NULL
cond_value varchar(50) Yes NULL

This table has no foreign key relationships.

id qid quest condition cond_value
1 9 8 Equals NO

Showing 1 sample records. Hover over cells to see full content.

sv_survey

7 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
created datetime Yes NULL Date/time field
ip varchar(50) Yes NULL
lastpage int(11) Yes NULL
hash varchar(100) Yes NULL
answer int(11) Yes NULL
submit int(11) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

sv_survey_1

17 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
created datetime Yes NULL Date/time field
ip varchar(50) Yes NULL
lastpage int(11) Yes NULL
hash varchar(100) Yes NULL
answer int(11) Yes NULL
userID varchar(200) Yes NULL
submit int(11) Yes NULL
1X1X1 text Yes NULL
1X1X2 text Yes NULL
1X1X3 text Yes NULL
1X1X4 varchar(10) Yes NULL
1X1X5 text Yes NULL
1X1X6 double Yes NULL
1X1X7 text Yes NULL
1X1X8 varchar(10) Yes NULL
1X1X9 date Yes NULL

This table has no foreign key relationships.

id created ip lastpage hash answer userID submit 1X1X1 1X1X2 1X1X3 1X1X4 1X1X5 1X1X6 1X1X7 1X1X8 1X1X9
1 2024-06-13 17:55:06 196.190.60.219 1 79f0bfb76ded38956af80f62aed993e2 1 1 1 Dereje Ketema Haile 2 Addis Ababa University 987654321 derejeketemah@gmail.com 4 2023-06-30
4 2024-06-13 18:01:00 196.190.60.219 1 b2a45639d716f9a97c91a15564c2806d 1 1 1 Momina Hussein Abdela 1 Wollo University 932165478 mominaha 3
5 2024-06-18 12:23:23 196.189.64.30 1 99fc853a46659d49f8d074d139a55cb5 1 0 1 brex bro nop 2 AA 1234567788 bggrddss@gma.com 3
6 2024-06-19 11:09:33 196.189.64.30 1 753438292dbfeb6a1af514a92e022206 1 0 1 brex bro nop 2 AA 1234567788 fffghrtrhtrh 4 2024-06-19

Showing 4 sample records. Hover over cells to see full content.

sv_survey_formats

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
format varchar(1) No NULL PRIMARY
description varchar(100) Yes NULL

This table has no foreign key relationships.

format description
A All in one
G One group per page
Q One question per page

Showing 3 sample records. Hover over cells to see full content.

sv_surveys

15 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
active int(11) Yes NULL
expires datetime Yes NULL
startdate datetime Yes NULL Date/time field
created datetime Yes NULL Date/time field
progressbar int(11) Yes NULL
allowprev int(11) Yes NULL
format varchar(1) Yes NULL
ipaddr int(11) Yes NULL
title varchar(200) Yes NULL
description mediumtext Yes NULL
welcome_message mediumtext Yes NULL
end_message mediumtext Yes NULL
date_format int(11) Yes NULL Date/time field
userid int(11) Yes NULL Identifier field

This table has no foreign key relationships.

id active expires startdate created progressbar allowprev format ipaddr title description welcome_message end_message date_format userid
1 1 2024-06-13 00:00:00 1 1 A 1 2024 National Career Expo Pre-Assessment Candidates' feedback Pre-Assessment Candidates' feedback Dear Candidate, As part of our preparations for the upcoming job fair, we would like to conduct a pr... Thank you for your commitment and dedication of time! 4

Showing 1 sample records. Hover over cells to see full content.

sv_users

6 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
username varchar(200) No NULL Name or title field
password varchar(200) No NULL
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field
email mediumtext Yes NULL Email address field

This table has no foreign key relationships.

id username password reset_token reset_date email
1 admin $2y$10$l/h2iNGnRxcJfVA6oU9YoO1hJgV4J23PhwAiGpATua5nhMOrbrkQO admin@merqconsultancy.org

Showing 1 sample records. Hover over cells to see full content.

todoboards

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
boardname varchar(255) Yes NULL Name or title field
userid varchar(100) Yes NULL Identifier field

This table has no foreign key relationships.

id boardname userid
1 Board 1 admin
2 Welcome to ToDo List ! derejamel
3 Board 2 derejamel

Showing 3 sample records. Hover over cells to see full content.

todocards

10 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
listid int(11) Yes NULL Identifier field
cardname varchar(255) Yes NULL Name or title field
categoryid int(11) Yes NULL Identifier field
cardorder int(11) Yes NULL
assign int(11) Yes NULL
boardid int(11) Yes NULL Identifier field
duedate datetime Yes NULL Date/time field
ownerid varchar(100) Yes NULL Identifier field
startdate date Yes NULL Date/time field

This table has no foreign key relationships.

id listid cardname categoryid cardorder assign boardid duedate ownerid startdate
1 1 Do Something! 0 1 2024-08-07 00:00:00 admin
2 3 Run? 1 2 2024-08-19 00:00:00 derejamel
3 2 Do Something! 2 2 2024-08-19 00:00:00 derejamel
4 5 Do Something! 0 0 0 3 2024-08-19 00:00:00 derejamel

Showing 4 sample records. Hover over cells to see full content.

todocategories

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
color varchar(255) Yes NULL
name varchar(255) Yes NULL Name or title field

This table has no foreign key relationships.

id color name
1 #FF0000 Work
2 #A35F5F Errands
3 #002BFF Kids
4 #FFF700 Sports

Showing 4 sample records. Hover over cells to see full content.

todocomments

5 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
cardid int(11) Yes NULL Identifier field
comment varchar(500) Yes NULL
ownerid int(11) Yes NULL Identifier field
commtime varchar(50) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

todolists

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
listname varchar(255) Yes NULL Name or title field
listorder int(11) No NULL
boardid int(11) Yes NULL Identifier field

This table has no foreign key relationships.

id listname listorder boardid
1 List 1 1 1
2 ToDo 1 2
3 Working 2 2
4 Done 3 2
5 List 1 1 3

Showing 5 sample records. Hover over cells to see full content.

todousers

9 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
username varchar(50) Yes NULL Name or title field
password varchar(100) Yes NULL
fullname varchar(255) Yes NULL Name or title field
avatar varchar(4000) Yes NULL
daystoadd int(11) Yes 30
email mediumtext Yes NULL Email address field
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field

This table has no foreign key relationships.

id username password fullname avatar daystoadd email reset_token reset_date
1 admin $2y$10$e5kYc7M1a5LKVgyTNLBs3OPLlTuryK8Lkj8GkHeA4tu93/UJjYE9W 30 administrator@merqconsultancy.org
3 derejamel $2y$10$JYMWceuhfVSb5g6IFmv7wOd0vYUZQ34AEJ7Ra5NVCNGkOQrVApr5C 30 ashenafi@dereja.com

Showing 2 sample records. Hover over cells to see full content.

trainer

6 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TrainerID int(11) No NULL PRIMARY
TrainingID int(11) Yes NULL
OrganizerID int(11) Yes NULL
Trainer_FullName varchar(200) Yes NULL
Trainer_Profile varchar(200) Yes NULL
Trainer_Skills varchar(200) Yes NULL

This table has no foreign key relationships.

TrainerID TrainingID OrganizerID Trainer_FullName Trainer_Profile Trainer_Skills
1 4 1 Dereja Training Team Software Engineer Microsoft Office,Linux
2 2 1 Abebech Bekele Haile

Showing 2 sample records. Hover over cells to see full content.

training_city_towns

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
CityTownID int(10) No NULL PRIMARY
CityTownName varchar(200) Yes NULL

This table has no foreign key relationships.

CityTownID CityTownName
1 Addis Ababa

Showing 1 sample records. Hover over cells to see full content.

training_organizers

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
OrganizerID int(10) No NULL PRIMARY
OrganizerName varchar(200) Yes NULL

This table has no foreign key relationships.

OrganizerID OrganizerName
1 Dereja
2 Dereja.com

Showing 2 sample records. Hover over cells to see full content.

training_participants

29 columns 2 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TrainingID int(10) No NULL PRIMARY
CandidateID int(10) No NULL PRIMARY Identifier field
StudentID varchar(200) Yes NULL
Training_Organizer varchar(200) Yes NULL
Training_Type varchar(200) Yes NULL
Program_Area varchar(200) Yes NULL
Training_City_Town varchar(200) Yes NULL
Training_Venue varchar(200) Yes NULL
Training_Start_Date date Yes NULL
Training_End_Date date Yes NULL
Training_Round int(10) Yes NULL
First_Name varchar(200) Yes NULL
Middle_Name varchar(200) Yes NULL Identifier field
Last_Name varchar(200) Yes NULL
Sex varchar(10) Yes NULL
Email varchar(200) Yes NULL
Phone varchar(200) Yes NULL
Disability_Status varchar(10) Yes NULL
Disability_Type int(200) Yes NULL
Disability_Type_Other int(200) Yes NULL
Participant_Profession varchar(200) Yes NULL
Participant_Field_of_Study varchar(200) Yes NULL
Participant_Facility_Organization_Type varchar(200) Yes NULL
Participant_Organization_Name varchar(200) Yes NULL
Participants_Home_Address varchar(200) Yes NULL
PreTest_Score varchar(200) Yes NULL
Skill_Test varchar(200) Yes NULL
Post_Test_Score varchar(200) Yes NULL
Date date Yes NULL
Column References Relationship
CandidateID candidates (CandidateID) Many training_participants belong to one candidates
TrainingID trainings (TrainingID) Many training_participants belong to one trainings

No sample data available for this table.

training_types

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TypeID int(10) No NULL PRIMARY
TypeName varchar(200) Yes NULL

This table has no foreign key relationships.

TypeID TypeName
1 TOT
2 Basic
3 Refresher

Showing 3 sample records. Hover over cells to see full content.

training_venues

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
VenueID int(10) No NULL PRIMARY
VenueName varchar(200) Yes NULL

This table has no foreign key relationships.

VenueID VenueName
1 Radison Blu Hotel
2 Millenium Hall

Showing 2 sample records. Hover over cells to see full content.

trainings

12 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
TrainingID int(11) No NULL PRIMARY
Training_Start_Date date Yes NULL
Training_End_Date date Yes NULL
TrainingTitle varchar(200) Yes NULL
TypeName varchar(200) Yes NULL
OrganizerName varchar(200) Yes NULL
CityTownName varchar(200) Yes NULL
VenueName varchar(200) Yes NULL
Trainer_FullName varchar(200) Yes NULL
TrainingRound int(11) Yes NULL
TrainingNote varchar(200) Yes NULL
program_areas varchar(200) Yes NULL

This table has no foreign key relationships.

Referenced By

Table Column References Relationship
dereja_training_services TrainingID trainings (TrainingID) One trainings has many dereja_training_services
training_participants TrainingID trainings (TrainingID) One trainings has many training_participants
TrainingID Training_Start_Date Training_End_Date TrainingTitle TypeName OrganizerName CityTownName VenueName Trainer_FullName TrainingRound TrainingNote program_areas
1 2022-03-05 2023-07-27 DAAP 1 1 1
2 Technical Skill 1
3 Language proficiency 1
4 2024-04-01 2024-04-05 Digital Literacy skill 2 1 1 1 This is note for round 1 of the training
5 2024-01-31 2024-02-06 ESJR 1 Employability skill and job readiness (ESJR)

Showing 5 sample records. Hover over cells to see full content.

users

14 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
username varchar(255) Yes NULL Name or title field
password varchar(255) Yes NULL
email mediumtext Yes NULL Email address field
fullname varchar(255) Yes NULL Name or title field
groupid varchar(255) Yes NULL Identifier field
active int(11) Yes NULL
ext_security_id varchar(100) Yes NULL Identifier field
userpic mediumblob Yes NULL
usertype varchar(255) Yes NULL
reset_token mediumtext Yes NULL
reset_date datetime Yes NULL Date/time field
designation varchar(50) Yes NULL
api_key varchar(255) Yes NULL

This table has no foreign key relationships.

id username password email fullname groupid active ext_security_id userpic usertype reset_token reset_date designation api_key
1 admin $2y$10$1gM97HC0FjbAHKQ8gfosgefCTBFW1smlomoJVCoPkS3UVPWHYFeP. administrator@merqconsultancy.org MERQ Consultancy 1 0lidf36o9ug3jdlrp6yv 2025-08-04 12:18:58 $2y$10$sGmsrGKf8NpkYlQWlWFcO.0i93qJ.a.kNWB1jA7x9eOHNF6Um11jM
2 merqadmin $2y$10$P5Nh99LKDrJtd/hdtlbG6uB5GtpKl96zAvg5ApHaOt7S8vKkOpgbG admin@merqconsultancy.org MERQ 1 $2y$10$N.Z80UdNWgVqnL0DB78FgOr0Tkp0j6Z5FhUQwB1.nKeSTEWxjVW4S
3 derejadmin $2y$10$2tAQkzBdX3MF2z3nMthP3O9pBYhQERWDmHUIHjDLIRK3Mdt7l1jT. martin.panayotov@composity.com Martin Panayotov 1 Monitoring and Evaluation $2y$10$rdQLVbSBuW7KH9EEFrfineSy9nXWyeoQQljiCkIFJfsZ/uDGRHi0K
4 merqdev $2y$10$AUWRtkrxGfhV1JiA4YOqieGa8.No484HB.MO6p7LIz75wKFztz43O dev@merqconsultancy.org MERQ SYSTEM DEV 1 iyz81mz3zk3d9yx65wpl 2025-08-04 12:19:53 $2y$10$HIPDUIsgvPesRBl2vrektump69Gzd4Sfl3ucty5xMlj9Qi6.xT5D2
5 derejadata $2y$10$J28hD5PbogV3jTsg6vHvb.qoUxLreEyB4qLb8SET4aO9lbobh8Oe2 data@merqconsultancy.org Dereja Data Manager 1 Data Management

Showing 5 sample records. Hover over cells to see full content.

users_designation

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
designation varchar(50) Yes NULL

This table has no foreign key relationships.

id designation
1 Data Entry
2 Data Management
3 Monitoring and Evaluation

Showing 3 sample records. Hover over cells to see full content.

utilities

2 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
utility_name varchar(400) Yes NULL Name or title field

This table has no foreign key relationships.

No sample data available for this table.

webreport_admin

4 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
tablename varchar(300) Yes NULL Name or title field
db_type varchar(10) Yes NULL
group_name varchar(300) Yes NULL Name or title field

This table has no foreign key relationships.

id tablename db_type group_name
887 Candidate_Employment_Tracker db
888 Companies db
889 CompanySectors db
890 Disability_Types db
891 Job_Categories db

Showing 5 sample records. Hover over cells to see full content.

webreport_sql

3 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
id int(11) No NULL PRIMARY Identifier field
sqlname varchar(100) Yes NULL Name or title field
sqlcontent mediumtext Yes NULL

This table has no foreign key relationships.

id sqlname sqlcontent
1 Candidates By DAPP Completed Courses SELECT `candidates`.`DAAP_Completed_Courses` AS `DAAP_Completed_Courses`, COUNT(*) AS `count` FR...
2 Candidates Disaggregated Report SELECT `candidates`.`Sex` AS `Sex`, MAKEDATE(YEAR(`candidates`.`DOB`), 1) AS `DOB`, `candidate...
3 Display All Candidate Table Columns SELECT `candidates`.`CandidateID` AS `CandidateID`, `candidates`.`StudentID` AS `StudentID`, `...
4 Query SELECT `candidates`.`Sex` AS `Sex`, `candidates`.`Region` AS `Region`, COUNT(*) AS `count` FRO...

Showing 4 sample records. Hover over cells to see full content.

webreport_style

8 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
report_style_id int(11) No NULL PRIMARY Identifier field
type varchar(6) No NULL
field int(11) No NULL
group int(11) No NULL
style_str mediumtext No NULL
uniq int(11) Yes NULL
repname varchar(255) No NULL Name or title field
styletype varchar(40) No NULL

This table has no foreign key relationships.

No sample data available for this table.

webreports

9 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
rpt_id int(11) No NULL PRIMARY Identifier field
rpt_name varchar(100) No NULL Name or title field
rpt_title varchar(200) Yes NULL
rpt_cdate datetime No NULL Date/time field
rpt_mdate datetime Yes NULL Date/time field
rpt_content mediumtext No NULL
rpt_owner varchar(100) No NULL
rpt_status varchar(10) No public
rpt_type varchar(10) No NULL

This table has no foreign key relationships.

rpt_id rpt_name rpt_title rpt_cdate rpt_mdate rpt_content rpt_owner rpt_status rpt_type
1 candidates_1 candidates Report 1 2024-04-06 13:45:33 2024-04-06 13:45:45 <report> <attr value="table_type">db</attr> <attr value="group_fields"><attr value="0"><attr value="... Guest private report
2 candidates_1 candidates Chart 1 2024-04-06 13:46:55 2024-04-06 13:46:55 <report> <attr value="table_type">db</attr> <attr value="tables"><attr value="0">candidates</attr> <... Guest private chart
6 candidates_3 candidates Chart 3 2024-04-07 12:12:50 2024-04-07 12:12:50 <report> <attr value="table_type">db</attr> <attr value="tables"><attr value="0">candidates</attr> <... michaelktd private chart
7 Candidate_Employment_Tracker_7 Candidate_Employment_Tracker Chart 7 2024-04-07 13:13:05 2024-04-07 13:13:05 <report> <attr value="table_type">db</attr> <attr value="tables"><attr value="0">Candidate_Employmen... merqadmin private chart
9 training_participants_2 training_participants Report 2 2024-04-10 16:19:34 2024-04-10 16:20:25 <report> <attr value="table_type">db</attr> <attr value="group_fields"><attr value="0"><attr value="... derejadata private report

Showing 5 sample records. Hover over cells to see full content.

website_data

9 columns
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
First_Name varchar(200) Yes NULL
Middle_Name varchar(200) Yes NULL Identifier field
Last_Name varchar(200) Yes NULL
Gender varchar(50) Yes NULL
Phone_Number varchar(200) Yes NULL
Email varchar(200) Yes NULL
Program_Year date Yes NULL
Title varchar(200) Yes NULL
Online_Registered varchar(50) Yes NULL

This table has no foreign key relationships.

First_Name Middle_Name Last_Name Gender Phone_Number Email Program_Year Title Online_Registered
ABEBE MEKASHA MALE 900050421 2020WebRegistration Yes
NAHOM TAMRU MALE 900432844 2020WebRegistration Yes
GETASEW YESHIWAS MALE 900610915 2020WebRegistration Yes
BROOK ASSEFA MALE 900611321 2020WebRegistration Yes
BEREKETEAB ERMIAS FEMALE 900624846 2020WebRegistration Yes

Showing 5 sample records. Hover over cells to see full content.

zones

3 columns 1 relationships
Structure
Relationships
Sample Data
Column Type Nullable Default Key Description
ZoneID int(10) No NULL PRIMARY
ZoneName varchar(200) Yes NULL
SubCityID int(10) No NULL FOREIGN
Column References Relationship
SubCityID sub_cities (SubCityID) Many zones belong to one sub_cities
ZoneID ZoneName SubCityID
1 01 2
2 02 1
3 03 1
4 01 2
5 02 2

Showing 5 sample records. Hover over cells to see full content.

Sample Queries

This section provides practical SQL query examples for common operations with the database.

Basic CRUD Operations

Create (Insert)

-- Insert a new candidate
INSERT INTO candidates (
First_Name, Middle_Name, Last_Name, Sex, DOB, Email_Address, Phone_Number
) VALUES (
'John', 'M', 'Doe', 'Male', '1990-05-15', 'john.doe@example.com', '+251911223344'
);

-- Insert a new training
INSERT INTO trainings (
TrainingTitle, Training_Start_Date, Training_End_Date, OrganizerName
) VALUES (
'Advanced Programming', '2023-06-01', '2023-06-15', 'Dereja Academy'
);

Read (Select)

-- Get all candidates from Addis Ababa
SELECT * FROM candidates
WHERE City = 'Addis Ababa'
ORDER BY First_Name, Last_Name;

-- Get training participants with their details
SELECT t.TrainingTitle, c.First_Name, c.Last_Name, c.Email_Address
FROM training_participants tp
JOIN trainings t ON tp.TrainingID = t.TrainingID
JOIN candidates c ON tp.CandidateID = c.CandidateID
WHERE t.TrainingID = 5;

Update

-- Update a candidate's email
UPDATE candidates
SET Email_Address = 'new.email@example.com'
WHERE CandidateID = 12345;

-- Update training dates
UPDATE trainings
SET Training_Start_Date = '2023-06-05', Training_End_Date = '2023-06-20'
WHERE TrainingID = 10;

Delete

-- Delete a candidate (with caution!)

DELETE FROM candidates
WHERE CandidateID = 12345;

-- Delete a training (will cascade to participants if foreign keys are set up properly)
DELETE FROM trainings
WHERE TrainingID = 10;

Advanced Queries

Candidate Statistics

-- Count candidates by region and gender
SELECT
r.RegionName,
c.Sex,
COUNT() as Total,
ROUND(COUNT() * 100.0 / SUM(COUNT(*)) OVER (PARTITION BY r.RegionName), 2) as Percentage
FROM candidates c
JOIN regions r ON c.Region = r.RegionName
GROUP BY r.RegionName, c.Sex
ORDER BY r.RegionName, c.Sex;

-- Candidates with employment history
SELECT
c.CandidateID,
c.First_Name,
c.Last_Name,
COUNT(ce.JobID) as Jobs_Count,
MAX(ce.Job_Placement_Date) as Last_Job_Date
FROM candidates c
LEFT JOIN candidate_employment_tracker ce ON c.CandidateID = ce.CandidateID
GROUP BY c.CandidateID, c.First_Name, c.Last_Name
ORDER BY Jobs_Count DESC;

Training Analysis

-- Training participation statistics
SELECT
t.TrainingTitle,
COUNT(tp.CandidateID) as Participants,
AVG(tp.Post_Test_Score) as Avg_Post_Test_Score,
MAX(tp.Post_Test_Score) as Max_Score,
MIN(tp.Post_Test_Score) as Min_Score
FROM trainings t
JOIN training_participants tp ON t.TrainingID = tp.TrainingID
GROUP BY t.TrainingTitle
ORDER BY Participants DESC;

-- Candidates who attended multiple trainings
SELECT
c.CandidateID,
c.First_Name,
c.Last_Name,
COUNT(DISTINCT tp.TrainingID) as Trainings_Attended,
GROUP_CONCAT(DISTINCT t.TrainingTitle ORDER BY t.TrainingTitle SEPARATOR ', ') as Training_List
FROM candidates c
JOIN training_participants tp ON c.CandidateID = tp.CandidateID
JOIN trainings t ON tp.TrainingID = t.TrainingID
GROUP BY c.CandidateID, c.First_Name, c.Last_Name
HAVING Trainings_Attended > 1
ORDER BY Trainings_Attended DESC;

Employment Tracking

-- Employment rate by training
SELECT
t.TrainingTitle,
COUNT(DISTINCT tp.CandidateID) as Participants,
COUNT(DISTINCT cet.CandidateID) as Employed,
ROUND(COUNT(DISTINCT cet.CandidateID) * 100.0 / COUNT(DISTINCT tp.CandidateID), 2) as Employment_Rate
FROM trainings t
JOIN training_participants tp ON t.TrainingID = tp.TrainingID
LEFT JOIN candidate_employment_tracker cet ON tp.CandidateID = cet.CandidateID
GROUP BY t.TrainingTitle
ORDER BY Employment_Rate DESC;

-- Current employment status of candidates
SELECT
c.CandidateID,
c.First_Name,
c.Last_Name,
c.Email_Address,
c.Phone_Number,
cet.Company_Name as Current_Employer,
cet.Job_Position,
cet.Job_Placement_Date
FROM candidates c
LEFT JOIN (
SELECT
CandidateID,
Company_Name,
Job_Position,
Job_Placement_Date,
ROW_NUMBER() OVER (PARTITION BY CandidateID ORDER BY Job_Placement_Date DESC) as rn
FROM candidate_employment_tracker
) cet ON c.CandidateID = cet.CandidateID AND cet.rn = 1
WHERE cet.Company_Name IS NOT NULL
ORDER BY cet.Job_Placement_Date DESC;

Best Practices

Database Usage Guidelines

General Guidelines

  • Always use parameterized queries to prevent SQL injection.
  • Create appropriate indexes for frequently queried columns.
  • Regularly back up the database using the backup system tables.
  • Use transactions for operations that modify multiple related tables.
  • Follow the established naming conventions for consistency.

Performance Tips

  • For large datasets, use pagination (LIMIT and OFFSET) rather than fetching all records.
  • When joining tables, specify only the columns you need rather than using SELECT *.
  • Consider adding composite indexes for queries that filter on multiple columns.
  • For reports on historical data, consider using materialized views or summary tables.

Data Integrity

  • Use the built-in foreign key constraints to maintain referential integrity.
  • Consider adding CHECK constraints where appropriate to validate data.
  • Use the candidate_custom_data table for extended attributes rather than altering the main candidates table.
  • Regularly validate and clean data using the provided utilities tables.

Security Considerations

  • Follow the principle of least privilege when granting database access.
  • Encrypt sensitive candidate information like phone numbers and emails in the application layer.
  • Regularly review user permissions in the users and derejame_users tables.
  • Implement proper logging for all data modifications using the derejame_audit table.

Common Pitfalls to Avoid

  • Over-normalization: While the schema is properly normalized, be cautious of creating too many joins for simple queries.
  • Ignoring indexes: The schema includes several indexes, but you may need to add more based on your query patterns.
  • Bulk operations: When importing large datasets, consider disabling indexes and constraints temporarily.
  • Data type mismatches: Pay attention to the data types in the schema to avoid implicit conversions.
  • Cascading deletes: Be aware of ON DELETE CASCADE relationships to avoid unintended data loss.