web/wp-content/plugins/caldera-forms/classes/db/tables.php
/**
	 * Add cf_form_entry_values table
	 *
	 * Warning: does not check if it exists first, which could cause SQL errors.
	 *
	 * @since 1.5.1
	 */
Add cf_form_entry_values table
Warning: does not check if it exists first, which could cause SQL errors.


Add cf_form_entry_values table Warning : does not check if it exists first which could cause SQL errors .
public function form_entry_values(){
		$this->set_charset();
		$values_table = "CREATE TABLE `" . $this->wpdb->prefix . "cf_form_entry_values` (
				`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
				`entry_id` int(11) NOT NULL,
				`field_id` varchar(20) NOT NULL,
				`slug` varchar(255) NOT NULL DEFAULT '',
				`value` longtext NOT NULL,
				PRIMARY KEY (`id`),
				KEY `form_id` (`entry_id`),
				KEY `field_id` (`field_id`),
				KEY `slug` (`slug`(" . $this->max_index_length . "))
				) " . $this->charset_collate . ";";
		dbDelta( $values_table );
	}
public function form_entry_values ( ) { $ this -> set_charset ( ) ; $ values_table = " CREATE TABLE ` " . $ this -> wpdb -> prefix . " cf_form_entry_values` (
				`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
				`entry_id` int(11) NOT NULL,
				`field_id` varchar(20) NOT NULL,
				`slug` varchar(255) NOT NULL DEFAULT '',
				`value` longtext NOT NULL,
				PRIMARY KEY (`id`),
				KEY `form_id` (`entry_id`),
				KEY `field_id` (`field_id`),
				KEY `slug` (`slug`( " . $ this -> max_index_length . " ))
				)  " . $ this -> charset_collate . " ; " ; dbDelta ( $ values_table ) ; }
Add cf_form_entry_values table
 Warning: does not check if it exists first, which could cause SQL errors.
Add cf_form_entry_values table Warning : does not check if it exists first which could cause SQL errors .