wp_dlm_order_item

Static

Stores order records and related transaction data.

Column Definitions

ColumnTypeNullable
🔑idINT UNSIGNEDNO
order_idINT UNSIGNEDNO
labelVARCHAR(255)YES
qtyINTYES
product_idINT UNSIGNEDYES
tax_classVARCHAR(255)YES
tax_totalINTYES
subtotalINTYES
totalINTYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_dlm_order_item` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `order_id` INT UNSIGNED NOT NULL, `label` VARCHAR(255) NULL, `qty` INT NULL, `product_id` INT UNSIGNED NULL, `tax_class` VARCHAR(255) NULL, `tax_total` INT NULL, `subtotal` INT NULL, `total` INT NULL, PRIMARY KEY (`id`), CONSTRAINT `wp_fk_order_item_order1` FOREIGN KEY (`order_id`) REFERENCES `wp_dlm_order` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE

Safe to delete?

If you have uninstalled Download Monitor, 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_dlm_order_item`;

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

Other tables from Download Monitor