wp_asg_woocommerce_products

Static

Stores product records and related data.

Column Definitions

ColumnTypeNullable
🔑idINTNO
product_idvarchar(20)NO
variant_idvarchar(20)NO
category_idvarchar(20)YES
titlevarchar(255)NO
amountvarchar(20)NO
quantityvarchar(20)YES
skuvarchar(20)YES
stock_unit_codevarchar(10)YES
is_savedTINYINT(1)NO
titlevarchar(255)NO
amountvarchar(20)NO
quantityvarchar(20)YES
skuvarchar(50)YES
hsnvarchar(50)YES
stock_groupvarchar(100)YES
stock_unit_codevarchar(10)YES
is_savedTINYINT(1)NO
woocommerce_category_idINTNO
woocommerce_category_namevarchar(255)NO
giddh_stock_group_idvarchar(100)NO
giddh_stock_group_namevarchar(255)NO
woocommerce_customer_idvarchar(100)NO
giddh_account_idvarchar(100)NO
woocommerce_order_idvarchar(100)NO
giddh_invoice_idvarchar(100)NO
giddh_voucher_numbervarchar(100)NO
invoice_typevarchar(20)NO
date_createdDATETIMENO
product_skuvarchar(100)NO
tagsvarchar(20)NO
namevarchar(100)NO
codevarchar(100)NO
woocommerce_payment_idvarchar(100)NO
giddh_account_idvarchar(100)NO

CREATE TABLE Statement

CREATE TABLE wp_asg_woocommerce_products ( id INT NOT NULL auto_increment, product_id varchar(20) NOT NULL, variant_id varchar(20) NOT NULL, category_id varchar(20) NULL DEFAULT NULL, title varchar(255) NOT NULL, amount varchar(20) NOT NULL, quantity varchar(20) NULL DEFAULT NULL, sku varchar(20) NULL DEFAULT NULL, stock_unit_code varchar(10) NULL DEFAULT NULL, is_saved TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_giddh_products ( id INT NOT NULL auto_increment, unique_name varchar(255) NOT NULL, title varchar(255) NOT NULL, amount varchar(20) NOT NULL, quantity varchar(20) NULL DEFAULT NULL, sku varchar(50) NULL DEFAULT NULL, hsn varchar(50) NULL DEFAULT NULL, stock_group varchar(100) NULL DEFAULT NULL, stock_unit_code varchar(10) NULL DEFAULT NULL, is_saved TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_categories ( id INT NOT NULL auto_increment, woocommerce_category_id INT NOT NULL, woocommerce_category_name varchar(255) NOT NULL, giddh_stock_group_id varchar(100) NOT NULL, giddh_stock_group_name varchar(255) NOT NULL, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_customers ( id INT NOT NULL auto_increment, woocommerce_customer_id varchar(100) NOT NULL, giddh_account_id varchar(100) NOT NULL, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_invoices ( id INT NOT NULL auto_increment, woocommerce_order_id varchar(100) NOT NULL, giddh_invoice_id varchar(100) NOT NULL, giddh_voucher_number varchar(100) NOT NULL, invoice_type varchar(20) NOT NULL, date_created DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_woocommerce_temp_products ( id INT NOT NULL auto_increment, product_sku varchar(100) NOT NULL, tags varchar(20) NOT NULL, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_available_payment_gateways ( id INT NOT NULL auto_increment, name varchar(100) NOT NULL, code varchar(100) NOT NULL, PRIMARY KEY (id) ) $collate; CREATE TABLE wp_asg_payment_gateways ( id INT NOT NULL auto_increment, woocommerce_payment_id varchar(100) NOT NULL, giddh_account_id varchar(100) NOT NULL, PRIMARY KEY (id) ) $collate;"; return $tables; } /* THIS WILL REGISTER THE PLUGIN ACTIVATION/DEACTIVATION WEBHOOKS */ register_activation_hook(__FILE__, 'giddhActivation');

Safe to delete?

If you have uninstalled Accounting Software Giddh, 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_asg_woocommerce_products`;

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

Other tables from Accounting Software Giddh