wp_bitforms_reports

Static

Stores bitforms reports data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idbigint(20) unsignedNO
categoryvarchar(50)NO
typevarchar(20)NO
contextvarchar(20)NO
detailslongtextYES
isDefaulttinyint(1)YES
1defaultYES
user_ipint(11) unsignedYES
user_devicevarchar(50)YES
created_atdatetimeYES
updated_atdatetimeYES
form_namevarchar(255)YES
form_contentlongtextYES
builder_helper_statelongtextYES
atomic_class_maplongtextYES
generated_script_page_idslongtextYES
user_idbigint(20) unsignedYES
user_ipint(11) unsignedYES
viewsint(11) unsignedYES
entriesint(11) unsignedYES
user_devicevarchar(50)YES
statustinyint(1)YES
1publishedYES
2trashedYES
updated_atdatetimeYES
workflow_namevarchar(255)NO
workflow_typevarchar(50)NO
workflow_runvarchar(50)NO
workflow_behaviourvarchar(25)NO
workflow_conditionlongtextYES
workflow_infolongtextYES
workflow_orderint(11) unsignedYES
workflow_statustinyint(1)YES
1enableYES
2enableYES
user_idbigint(20) unsignedYES
user_ipint(11) unsignedYES
user_locationtextYES
user_devicevarchar(50)YES
created_atdatetimeYES
updated_atdatetimeYES
message_titlevarchar(255)YES
message_contentlongtextYES
message_configlongtextYES
form_idbigint(20) unsignedYES
user_idbigint(20) unsignedYES
user_ipint(11) unsignedYES
created_atdatetimeYES
updated_atdatetimeYES
titletextYES
subtextYES
bodylongtextYES
form_idbigint(20) unsignedYES
user_idbigint(20) unsignedYES
user_ipint(11) unsignedYES
created_atdatetimeYES
updated_atdatetimeYES
categoryvarchar(50)NO
integration_namevarchar(255)YES
integration_typevarchar(50)NO
integration_detailslongtextYES
form_idbigint(20) unsignedYES
user_ipint(11) unsignedYES
statustinyint(1)YES
1publishedYES
2trashedYES
updated_atdatetimeYES
form_idbigint(20) unsignedYES
user_idbigint(20) unsignedYES
user_ipvarchar(255)YES
user_locationtextYES
user_devicevarchar(50)YES
refererTEXTYES
statustinyint(1)YES
1viewedYES
2trashedYES
updated_atdatetimeYES
bitforms_form_entry_idbigint(20) unsignedYES
meta_keyvarchar(255)YES
meta_valuelongtextYES
user_idint(11)NO
log_typevarchar(50)YES
ipint(11)YES
action_typevarchar(50)YES
form_entry_idbigint(20)YES
form_idbigint(20)YES
contentlongtextYES
created_atDATETIMENO
log_idbigint(20)NO
integration_idbigint(20)YES
api_typevarchar(255)YES
response_typevarchar(50)YES
response_objLONGTEXTYES
created_atDATETIMENO
info_typeVARCHAR(50)NO
info_detailsLONGTEXTYES
form_idBIGINT(20) UNSIGNEDNO
entry_idBIGINT(20) UNSIGNEDNO
user_idBIGINT(20) UNSIGNEDYES
user_ipINT(11) UNSIGNEDYES
statusINT(1) UNSIGNEDNO
created_atDATETIMEYES
updated_atDATETIMEYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS `wp_bitforms_reports` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `category` varchar(50) NOT NULL, `type` varchar(20) NOT NULL, `context` varchar(20) NOT NULL, `details` longtext DEFAULT NULL, `isDefault` tinyint(1) DEFAULT 0,/* 0 not default, 1 default */ `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` int(11) unsigned DEFAULT NULL, `user_device` varchar(50) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_form` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `form_name` varchar(255) DEFAULT NULL, `form_content` longtext DEFAULT NULL, `builder_helper_state` longtext DEFAULT NULL, `atomic_class_map` longtext DEFAULT NULL, `generated_script_page_ids` longtext DEFAULT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` int(11) unsigned DEFAULT NULL, `views` int(11) unsigned DEFAULT 0, `entries` int(11) unsigned DEFAULT 0, `user_device` varchar(50) DEFAULT NULL, `status` tinyint(1) DEFAULT 1,/* 0 not published, 1 published, 2 trashed */ `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_workflows` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `workflow_name` varchar(255) NOT NULL, `workflow_type` varchar(50) NOT NULL, `workflow_run` varchar(50) NOT NULL, `workflow_behaviour` varchar(25) NOT NULL, `workflow_condition` longtext DEFAULT NULL, `workflow_info` longtext DEFAULT NULL, `workflow_order` int(11) unsigned DEFAULT NULL, `workflow_status` tinyint(1) DEFAULT 1,/* 0 disable, 1 enable, 2 enable in field settings */ `form_id` bigint(20) unsigned DEFAULT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` int(11) unsigned DEFAULT NULL, `user_location` text DEFAULT NULL, `user_device` varchar(50) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `form_id` (`form_id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_success_messages` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `message_title` varchar(255) DEFAULT NULL, `message_content` longtext DEFAULT NULL, `message_config` longtext DEFAULT NULL, `form_id` bigint(20) unsigned DEFAULT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` int(11) unsigned DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_email_template` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` text DEFAULT NULL, `sub` text DEFAULT NULL, `body` longtext DEFAULT NULL, `form_id` bigint(20) unsigned DEFAULT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` int(11) unsigned DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_integration` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `category` varchar(50) NOT NULL, `integration_name` varchar(255) DEFAULT NULL, `integration_type` varchar(50) NOT NULL, `integration_details` longtext DEFAULT NULL, `form_id` bigint(20) unsigned DEFAULT NULL, /* form_id = 0 means all/app */ `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` int(11) unsigned DEFAULT NULL, `status` tinyint(1) DEFAULT 1,/* 0 disabled, 1 published, 2 trashed */ `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_form_entries` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `form_id` bigint(20) unsigned DEFAULT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `user_ip` varchar(255) DEFAULT NULL, `user_location` text DEFAULT NULL, `user_device` varchar(50) DEFAULT NULL, `referer` TEXT DEFAULT NULL, `status` tinyint(1) DEFAULT 0,/* 0 not viewed, 1 viewed, 2 trashed */ `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `form_id` (`form_id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_form_entrymeta` ( `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `bitforms_form_entry_id` bigint(20) unsigned DEFAULT NULL, `meta_key` varchar(255) DEFAULT NULL, `meta_value` longtext, PRIMARY KEY (`meta_id`), KEY `meta_key` (`meta_key`({$max_index_length})), KEY `entry_id` (`bitforms_form_entry_id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_form_entry_log` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `log_type` varchar(50) DEFAULT NULL, `ip` int(11) DEFAULT NULL, `action_type` varchar(50) DEFAULT NULL, `form_entry_id` bigint(20) DEFAULT NULL, `form_id` bigint(20) DEFAULT NULL, `content` longtext, `created_at` DATETIME NOT NULL, PRIMARY KEY (`id`), KEY `form_id` (`form_id`), KEY `form_entry_id` (`form_entry_id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_form_log_details` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `log_id` bigint(20) NOT NULL, `integration_id` bigint(20) DEFAULT NULL, `api_type` varchar(255) DEFAULT NULL, `response_type` varchar(50) DEFAULT NULL, `response_obj` LONGTEXT DEFAULT NULL, `created_at` DATETIME NOT NULL, PRIMARY KEY (`id`), KEY `log_id` (`log_id`), KEY `integration_id` (`integration_id`) ) $collate;", "CREATE TABLE IF NOT EXISTS `wp_bitforms_form_entry_relatedinfo` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `info_type` VARCHAR(50) NOT NULL, `info_details` LONGTEXT NULL, `form_id` BIGINT(20) UNSIGNED NOT NULL, `entry_id` BIGINT(20) UNSIGNED NOT NULL, `user_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL, `user_ip` INT(11) UNSIGNED NULL DEFAULT NULL, `status` INT(1) UNSIGNED NOT NULL DEFAULT '1', `created_at` DATETIME NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `form_id` (`form_id`), KEY `entry_id` (`entry_id`) ) $collate;" ]; try { include_once ABSPATH . 'wp-admin/includes/upgrade.php'; foreach ($table_schema as $table) { dbDelta($table);

Safe to delete?

If you have uninstalled Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form 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_bitforms_reports`;

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

Other tables from Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder