get_charset_collate(); $table_app_process_by_job = $wpdb->prefix . 'axilweb_ajl_app_process_by_job'; $schema_jobs = "CREATE TABLE IF NOT EXISTS `$table_app_process_by_job` ( `id` int NOT NULL AUTO_INCREMENT, `job_id` varchar(255) NOT NULL, `process_id` varchar(255) NOT NULL, `order` tinyint(4) NOT NULL, PRIMARY KEY (`id`) ) $charset_collate"; // Create the tables. dbDelta($schema_jobs); } }