wp_foxlms_orders
StaticStores order records and related transaction data.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | INT(11) | NO |
| order_id | VARCHAR(256) | NO |
| course_post_id | INT(11) | NO |
| course_id | INT(11) | NO |
| user_id | INT(11) | NO |
| order_full_name | TEXT | YES |
| order_email | TEXT | YES |
| amount | TEXT | NO |
| currency | VARCHAR(256) | NO |
| payment_date | DATETIME | NO |
| type | TEXT | YES |
| status | TEXT | YES |
| options | TEXT | NO |
| coupon_info | TEXT | NO |
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