wp_foxlms_lessons
StaticStores foxlms lessons data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT(16) UNSIGNED | NO |
| post_id | INT(16) UNSIGNED | YES |
| course_id | INT(16) UNSIGNED | YES |
| course_post_id | INT(16) UNSIGNED | YES |
| author_id | INT(11) UNSIGNED | NO |
| section_id | INT(11) UNSIGNED | NO |
| category_ids | TEXT | NO |
| question | TEXT | NO |
| question_description | TEXT | NO |
| lesson | TEXT | NO |
| lesson_description | TEXT | NO |
| type | VARCHAR(256) | NO |
| status | VARCHAR(256) | NO |
| trash_status | VARCHAR(256) | NO |
| date_created | DATETIME | NO |
| date_modified | DATETIME | NO |
| user_variant | TEXT | YES |
| user_explanation | TEXT | YES |
| image | TEXT | NO |
| ordering | INT(11) | NO |
| options | TEXT | NO |
CREATE TABLE Statement
CREATE TABLE `wp_foxlms_lessons` ( `id` INT(16) UNSIGNED NOT NULL AUTO_INCREMENT, `post_id` INT(16) UNSIGNED DEFAULT NULL, `course_id` INT(16) UNSIGNED DEFAULT NULL, `course_post_id` INT(16) UNSIGNED DEFAULT NULL, `author_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `section_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `category_ids` TEXT NOT NULL, `question` TEXT NOT NULL, `question_description` TEXT NOT NULL, `lesson` TEXT NOT NULL, `lesson_description` TEXT NOT NULL, `type` VARCHAR(256) NOT NULL DEFAULT '', `status` VARCHAR(256) NOT NULL DEFAULT 'published', `trash_status` VARCHAR(256) NOT NULL DEFAULT '', `date_created` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `date_modified` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `user_variant` TEXT NULL, `user_explanation` TEXT NULL, `image` TEXT NOT NULL, `ordering` INT(11) NOT NULL DEFAULT '1', `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( "SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_lessons' ", 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_lessons`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Fox LMS – eLearning & Course Builder