wp_foxlms_orders

Static

Stores order records and related transaction data.

Column Definitions

ColumnTypeNullable
🔑idINT(11)NO
order_idVARCHAR(256)NO
course_post_idINT(11)NO
course_idINT(11)NO
user_idINT(11)NO
order_full_nameTEXTYES
order_emailTEXTYES
amountTEXTNO
currencyVARCHAR(256)NO
payment_dateDATETIMENO
typeTEXTYES
statusTEXTYES
optionsTEXTNO
coupon_infoTEXTNO

CREATE TABLE Statement

CREATE TABLE `wp_foxlms_orders` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `order_id` VARCHAR(256) NOT NULL DEFAULT '0', `course_post_id` INT(11) NOT NULL, `course_id` INT(11) NOT NULL, `user_id` INT(11) NOT NULL, `order_full_name` TEXT NULL DEFAULT NULL, `order_email` TEXT NULL DEFAULT NULL, `amount` TEXT NOT NULL, `currency` VARCHAR(256) NOT NULL DEFAULT '', `payment_date` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `type` TEXT NULL DEFAULT NULL, `status` TEXT NULL DEFAULT NULL, `options` TEXT NOT NULL, `coupon_info` 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_orders' ", 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_orders`;

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

Other tables from Fox LMS – eLearning & Course Builder