web/wp-content/plugins/caldera-forms-pro-wp-client/bootstrap-cf-pro.php
/**
 * Database changes for Caldera Forms Pro
 *
 * @since 0.0.1
 */
Database changes for Caldera Forms Pro
@since 0.0.1
Database changes for Caldera Forms Pro @since 0 . 0 . 1
function caldera_forms_pro_db_delta_1(){
	require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
	global $wpdb;
	$charset_collate = '';
	if ( ! empty( $wpdb->charset ) ) {
		$charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
	}
	if ( ! empty( $wpdb->collate ) ) {
		$charset_collate .= " COLLATE $wpdb->collate";
	}
	$table = "CREATE TABLE `" . $wpdb->prefix . "cf_pro_messages` (
			`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
			`cfp_id` bigint(20) unsigned DEFAULT NULL,
			`entry_id` bigint(20) unsigned DEFAULT NULL,
			`hash` varchar(255) DEFAULT NULL,
			`type` varchar(255) DEFAULT NULL,
			PRIMARY KEY ( `ID` )
			) " . $charset_collate . ";";
	dbDelta( $table );
}
function caldera_forms_pro_db_delta_1 ( ) { require_once ( ABSPATH . 'wp-admin/includes/upgrade.php' ) ; global $ wpdb ; $ charset_collate = '' ; if ( ! empty ( $ wpdb -> charset ) ) { $ charset_collate = " DEFAULT CHARACTER SET  $ wpdb -> charset " ; } if ( ! empty ( $ wpdb -> collate ) ) { $ charset_collate .= "  COLLATE  $ wpdb -> collate " ; } $ table = " CREATE TABLE ` " . $ wpdb -> prefix . " cf_pro_messages` (
			`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
			`cfp_id` bigint(20) unsigned DEFAULT NULL,
			`entry_id` bigint(20) unsigned DEFAULT NULL,
			`hash` varchar(255) DEFAULT NULL,
			`type` varchar(255) DEFAULT NULL,
			PRIMARY KEY ( `ID` )
			)  " . $ charset_collate . " ; " ; dbDelta ( $ table ) ; }
Database changes for Caldera Forms Pro
 @since 0.0.1
Database changes for Caldera Forms Pro @since 0 . 0 . 1