wp_foxlms_question_answers

Static

Stores foxlms question answers data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idINT(11) UNSIGNEDNO
course_idINT(11) UNSIGNEDNO
lesson_idINT(11) UNSIGNEDNO
question_idINT(11) UNSIGNEDNO
user_idINT(11) UNSIGNEDNO
answerTEXTNO
date_createdDATETIMENO
optionsTEXTNO

CREATE TABLE Statement

CREATE TABLE `wp_foxlms_question_answers` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `course_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `lesson_id` INT(11) UNSIGNED NOT NULL, `question_id` INT(11) UNSIGNED NOT NULL, `user_id` INT(11) UNSIGNED NOT NULL, `answer` TEXT NOT NULL, `date_created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `options` TEXT NOT NULL, PRIMARY KEY (`id`), KEY `question_id` (`question_id`), KEY `lesson_id` (`lesson_id`), KEY `course_id` (`course_id`), KEY `user_id` (`user_id`) )$charset_collate;"; $results = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_question_answers' ", DB_NAME ) );

Safe to delete?

If you have uninstalled Fox LMS – eLearning & Course Builder, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_foxlms_question_answers`;

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

Other tables from Fox LMS – eLearning & Course Builder