Add customer_id to order stats report table to reference with customer lookup.

This commit is contained in:
Jeff Stieler 2019-01-07 18:21:36 -07:00
parent d42e04cd59
commit 1a90840e97
1 changed files with 1 additions and 0 deletions

View File

@ -508,6 +508,7 @@ class WC_Admin_Api_Init {
net_total double DEFAULT 0 NOT NULL, net_total double DEFAULT 0 NOT NULL,
returning_customer boolean DEFAULT 0 NOT NULL, returning_customer boolean DEFAULT 0 NOT NULL,
status varchar(200) NOT NULL, status varchar(200) NOT NULL,
customer_id BIGINT UNSIGNED NOT NULL,
PRIMARY KEY (order_id), PRIMARY KEY (order_id),
KEY date_created (date_created) KEY date_created (date_created)
) $collate; ) $collate;