wp_foxlms_courses
StaticStores foxlms courses data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT(16) UNSIGNED | NO |
| post_id | INT(16) UNSIGNED | YES |
| author_id | INT(16) UNSIGNED | NO |
| title | TEXT | NO |
| description | TEXT | NO |
| category_ids | TEXT | NO |
| question_ids | TEXT | NO |
| lesson_ids | TEXT | NO |
| section_ids | TEXT | NO |
| sections_count | INT(11) | NO |
| questions_count | INT(11) | NO |
| lessons_count | INT(11) | NO |
| date_created | DATETIME | NO |
| date_modified | DATETIME | NO |
| image | TEXT | NO |
| status | VARCHAR(256) | NO |
| trash_status | VARCHAR(256) | NO |
| ordering | INT(16) | NO |
| custom_post_id | INT(16) UNSIGNED | YES |
| conditions | LONGTEXT | NO |
| options | TEXT | NO |
CREATE TABLE Statement
CREATE TABLE `wp_foxlms_courses` ( `id` INT(16) UNSIGNED NOT NULL AUTO_INCREMENT, `post_id` INT(16) UNSIGNED DEFAULT NULL, `author_id` INT(16) UNSIGNED NOT NULL DEFAULT '0', `title` TEXT NOT NULL, `description` TEXT NOT NULL, `category_ids` TEXT NOT NULL, `question_ids` TEXT NOT NULL, `lesson_ids` TEXT NOT NULL, `section_ids` TEXT NOT NULL, `sections_count` INT(11) NOT NULL DEFAULT '0', `questions_count` INT(11) NOT NULL DEFAULT '0', `lessons_count` INT(11) NOT NULL DEFAULT '0', `date_created` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `date_modified` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `image` TEXT NOT NULL, `status` VARCHAR(256) NOT NULL DEFAULT 'published', `trash_status` VARCHAR(256) NOT NULL DEFAULT '', `ordering` INT(16) NOT NULL, `custom_post_id` INT(16) UNSIGNED DEFAULT NULL, `conditions` LONGTEXT NOT NULL, `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_courses' ", 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_courses`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Fox LMS – eLearning & Course Builder