You must execute the SQL code to set up the necessary database tables.
Instructions
Open your database management tool (e.g., phpMyAdmin or HeidiSQL).
Select Your Database.
Run the following SQL query in your database to create the required table:
CREATETABLE `moon_interview` (`id`INT(11) NOT NULL AUTO_INCREMENT,`job`VARCHAR(255) NOT NULLCOLLATE'utf8mb3_general_ci',`clearanceGrades` LONGTEXT NOT NULLCOLLATE'utf8mb4_bin',`available24hours`TINYINT(1) NOT NULL,`questions` LONGTEXT NOT NULLCOLLATE'utf8mb4_bin',`pauseapplications`TINYINT(1) NOT NULL,`applicationtimings` LONGTEXT NOT NULLCOLLATE'utf8mb4_bin',`webhook` LONGTEXT NOT NULLCOLLATE'utf8mb4_bin',`updated_at`TIMESTAMPNULLDEFAULTNULL,PRIMARY KEY (`id`) USING BTREE,CONSTRAINT`questions`CHECK (json_valid(`questions`)),CONSTRAINT`applicationtimings`CHECK (json_valid(`applicationtimings`)))COLLATE='utf8mb3_general_ci'ENGINE=InnoDBAUTO_INCREMENT=6;CREATETABLE `interview_responses` (`id`INT(11) NOT NULL AUTO_INCREMENT,`citizenid`VARCHAR(255) NOT NULLCOLLATE'utf8mb4_general_ci',`department`VARCHAR(255) NOT NULLCOLLATE'utf8mb4_general_ci',`answers` LONGTEXT NOT NULLCOLLATE'utf8mb4_general_ci',`additional_info` LONGTEXT NULLDEFAULT'[]'COLLATE'utf8mb4_general_ci',`submitted_at`DATETIMENULLDEFAULTcurrent_timestamp(),`status` LONGTEXT NULLDEFAULT'[{"type": 0, "reason": "We are looking into your application"}]'COLLATE'utf8mb4_general_ci',`comments` LONGTEXT NULLDEFAULTNULLCOLLATE'utf8mb4_general_ci',PRIMARY KEY (`id`) USING BTREE,UNIQUEINDEX`citizenid_department` (`citizenid`, `department`) USING BTREE)COLLATE='utf8mb4_general_ci'ENGINE=InnoDBAUTO_INCREMENT=46;
Step 2: Configure the Config.lua File
Customize the Config.lua file based on your preferences and requirements. Ensure the settings align with your server's intended functionality and features.