get_charset_collate(); $table_app_process_comment = $wpdb->prefix . 'axilweb_ajl_app_process_comment'; $schema_jobs = "CREATE TABLE IF NOT EXISTS `$table_app_process_comment` ( `id` int NOT NULL AUTO_INCREMENT, `user_id` int UNSIGNED DEFAULT NULL, `app_id` int UNSIGNED NOT NULL, `app_process_id` int UNSIGNED NOT NULL, `comment` varchar(255) NULL, `created_at` date NULL, `deleted_at` datetime NULL, PRIMARY KEY (`id`) ) $charset_collate"; // Create the tables. dbDelta($schema_jobs); } }