wp_jbusinessdirectory_company_offers

Static

Stores jbusinessdirectory company offers data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idintNO
companyIdintNO
currencyIdintNO
subjectvarchar(110)YES
descriptiontextYES
meta_titlevarchar(100)YES
meta_descriptiontextYES
meta_keywordstextYES
pricedecimal(12,2)YES
specialPricedecimal(12,2)YES
price_basedecimal(12,2)YES
price_base_unitvarchar(45)YES
special_price_basedecimal(12,2)YES
special_price_base_unitvarchar(45)YES
total_couponsintNO
startDatedateYES
endDatedateYES
statetinyint(1)NO
approvedtinyint(1)NO
offerOfTheDaytinyint(1)NO
viewCountintYES
aliasvarchar(100)YES
addressvarchar(100)YES
street_numbervarchar(100)YES
cityvarchar(45)YES
short_descriptionvarchar(255)YES
countyvarchar(45)YES
provincevarchar(60)YES
areavarchar(60)YES
publish_start_datedateYES
publish_end_datedateYES
view_typetinyintNO
urlvarchar(145)YES
article_idintYES
latitudevarchar(45)YES
longitudevarchar(45)YES
featuredtinyint(1)NO
createdtimestampNO
show_timetinyint(1)YES
publish_start_timetimeYES
publish_end_timetimeYES
expiration_email_datedatetimeYES
main_subcategoryintYES
enable_offer_sellingtinyint(1)YES
min_purchaseintYES
max_purchaseintYES
quantityintYES
user_idintYES
postalCodevarchar(55)YES
typetinyint(1)NO
countryIdintYES
price_textvarchar(100)YES
offer_typeintYES
time_zonevarchar(15)YES
item_typetinyint(1)NO
notify_offer_quantityintYES
use_stock_pricetinyint(1)YES
contact_emailvarchar(100)YES
add_to_price_listtinyint(1)YES
review_scoredecimal(2,1)YES
packagesvarchar(75)YES

CREATE TABLE Statement

CREATE TABLE `wp_jbusinessdirectory_company_offers` ( `id` int NOT NULL AUTO_INCREMENT, `companyId` int NOT NULL, `currencyId` int NOT NULL, `subject` varchar(110) DEFAULT NULL, `description` text, `meta_title` varchar(100) DEFAULT NULL, `meta_description` text, `meta_keywords` text, `price` decimal(12,2) DEFAULT NULL, `specialPrice` decimal(12,2) DEFAULT NULL, `price_base` decimal(12,2) DEFAULT NULL, `price_base_unit` varchar(45) DEFAULT NULL, `special_price_base` decimal(12,2) DEFAULT NULL, `special_price_base_unit` varchar(45) DEFAULT NULL, `total_coupons` int NOT NULL DEFAULT '0', `startDate` date DEFAULT NULL, `endDate` date DEFAULT NULL, `state` tinyint(1) NOT NULL DEFAULT '1', `approved` tinyint(1) NOT NULL DEFAULT '0', `offerOfTheDay` tinyint(1) NOT NULL DEFAULT '0', `viewCount` int DEFAULT '0', `alias` varchar(100) DEFAULT NULL, `address` varchar(100) DEFAULT NULL, `street_number` varchar(100) DEFAULT NULL, `city` varchar(45) DEFAULT NULL, `short_description` varchar(255) DEFAULT NULL, `county` varchar(45) DEFAULT NULL, `province` varchar(60) DEFAULT NULL, `area` varchar(60) DEFAULT NULL, `publish_start_date` date DEFAULT NULL, `publish_end_date` date DEFAULT NULL, `view_type` tinyint NOT NULL DEFAULT '1', `url` varchar(145) DEFAULT NULL, `article_id` int DEFAULT NULL, `latitude` varchar(45) DEFAULT NULL, `longitude` varchar(45) DEFAULT NULL, `featured` tinyint(1) NOT NULL DEFAULT '0', `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `show_time` tinyint(1) DEFAULT '0', `publish_start_time` time DEFAULT NULL, `publish_end_time` time DEFAULT NULL, `expiration_email_date` datetime DEFAULT NULL, `main_subcategory` int DEFAULT NULL, `enable_offer_selling` tinyint(1) DEFAULT '1', `min_purchase` int DEFAULT NULL, `max_purchase` int DEFAULT NULL, `quantity` int DEFAULT NULL, `user_id` int DEFAULT NULL, `postalCode` varchar(55) DEFAULT NULL, `type` tinyint(1) NOT NULL DEFAULT '1', `countryId` int DEFAULT NULL, `price_text` varchar(100) DEFAULT NULL, `offer_type` int DEFAULT NULL, `time_zone` varchar(15) DEFAULT NULL, `item_type` tinyint(1) NOT NULL DEFAULT '1', `notify_offer_quantity` int DEFAULT NULL, `use_stock_price` tinyint(1) DEFAULT NULL, `contact_email` varchar(100) DEFAULT NULL, `add_to_price_list` tinyint(1) DEFAULT '0', `review_score` decimal(2,1) DEFAULT '0.0', `packages` varchar(75) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_alias` (`alias`), KEY `idx_company` (`companyId`), KEY `idx_country` (`countryId`), KEY `idx_approved` (`approved`), KEY `idx_type` (`type`), KEY `idx_featured` (`featured`), KEY `idx_latitude` (`latitude`), KEY `idx_longitude` (`longitude`), KEY `idx_price` (`price`), KEY `idx_specialPrice` (`specialPrice`), KEY `idx_subject` (`subject`), KEY `idx_city` (`city`), KEY `idx_county` (`county`), KEY `idx_area` (`area`), KEY `idx_province` (`province`), KEY `idx_short_description` (`short_description`(100)), KEY `idx_address` (`address`), KEY `idx_user_id` (`user_id`), KEY `idx_expiration_email_date` (`expiration_email_date`), KEY `idx_search` (`state`,`endDate`,`startDate`,`publish_end_date`,`publish_start_date`), KEY `idx_publish_time` (`publish_start_time`,`publish_end_time`), KEY `idx_offer_type` (`offer_type`), KEY `idx_packages` (`packages`) ) ENGINE

Safe to delete?

If you have uninstalled WP-BusinessDirectory – Business directory plugin for WordPress, 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_jbusinessdirectory_company_offers`;

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

Other tables from WP-BusinessDirectory – Business directory plugin for WordPress