{"slug":"fox-lms","name":"Fox LMS – eLearning & Course Builder","description":"Easily create online courses, lessons, and quizzes for your WordPress LMS website with this simple eLearning plugin for WordPress.","author":"Ays Pro","active_installs":80,"version":"1.0.8.7","wp_org_url":"https://wordpress.org/plugins/fox-lms/","is_closed":false,"cleanup":{"has_uninstall_hook":true,"drops_tables_on_uninstall":true,"deletes_options_on_uninstall":true},"tables":[{"table_name":"foxlms_announcements","full_table_name":"wp_foxlms_announcements","description":"Stores foxlms announcements data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"BIGINT(20) UNSIGNED","nullable":false,"primary_key":true},{"name":"course_id","type":"INT(20) UNSIGNED","nullable":false,"primary_key":false},{"name":"teacher_id","type":"INT(20) UNSIGNED","nullable":false,"primary_key":false},{"name":"title","type":"TEXT","nullable":false,"primary_key":false},{"name":"description","type":"TEXT","nullable":false,"primary_key":false},{"name":"created_at","type":"DATETIME","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_announcements` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `course_id` INT(20) UNSIGNED NOT NULL DEFAULT '0', `teacher_id` INT(20) UNSIGNED NOT NULL DEFAULT '0', `title` TEXT NOT NULL, `description` TEXT NOT NULL, `created_at` DATETIME NOT NULL, `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_announcements' \", DB_NAME ) );"},{"table_name":"foxlms_coupons","full_table_name":"wp_foxlms_coupons","description":"Stores foxlms coupons data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"bigint(20) unsigned","nullable":false,"primary_key":true},{"name":"title","type":"varchar(255)","nullable":false,"primary_key":false},{"name":"code","type":"varchar(50)","nullable":false,"primary_key":false},{"name":"discount_type","type":"varchar(20)","nullable":false,"primary_key":false},{"name":"discount_amount","type":"decimal(11,2)","nullable":false,"primary_key":false},{"name":"usage_limit_total","type":"int(11)","nullable":false,"primary_key":false},{"name":"usage_limit_per_user","type":"int(11)","nullable":true,"primary_key":false},{"name":"usage_count","type":"int(11)","nullable":false,"primary_key":false},{"name":"applies_to","type":"varchar(1000)","nullable":true,"primary_key":false},{"name":"start_date","type":"datetime","nullable":true,"primary_key":false},{"name":"end_date","type":"datetime","nullable":true,"primary_key":false},{"name":"created_at","type":"datetime","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_coupons` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `code` varchar(50) NOT NULL, `discount_type` varchar(20) NOT NULL DEFAULT 'percentage', `discount_amount` decimal(11,2) NOT NULL DEFAULT '0', `usage_limit_total` int(11) NOT NULL DEFAULT '0', `usage_limit_per_user` int(11) DEFAULT NULL, `usage_count` int(11) NOT NULL DEFAULT '0', `applies_to` varchar(1000) DEFAULT NULL, `start_date` datetime DEFAULT NULL, `end_date` datetime DEFAULT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `code` (`code`), KEY `discount_type` (`discount_type`), KEY `start_date` (`start_date`), KEY `end_date` (`end_date`), KEY `active_coupons` (`start_date`, `end_date`) ) $charset_collate;\"; $results = $wpdb->get_results( $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_coupons' \", DB_NAME ) );"},{"table_name":"foxlms_courses","full_table_name":"wp_foxlms_courses","description":"Stores foxlms courses data created by this plugin.","detection_method":"static","confidence":"high","columns":[{"name":"id","type":"INT(16) UNSIGNED","nullable":false,"primary_key":true},{"name":"post_id","type":"INT(16) UNSIGNED","nullable":true,"primary_key":false},{"name":"author_id","type":"INT(16) UNSIGNED","nullable":false,"primary_key":false},{"name":"title","type":"TEXT","nullable":false,"primary_key":false},{"name":"description","type":"TEXT","nullable":false,"primary_key":false},{"name":"category_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"question_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"lesson_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"section_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"sections_count","type":"INT(11)","nullable":false,"primary_key":false},{"name":"questions_count","type":"INT(11)","nullable":false,"primary_key":false},{"name":"lessons_count","type":"INT(11)","nullable":false,"primary_key":false},{"name":"date_created","type":"DATETIME","nullable":false,"primary_key":false},{"name":"date_modified","type":"DATETIME","nullable":false,"primary_key":false},{"name":"image","type":"TEXT","nullable":false,"primary_key":false},{"name":"status","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"trash_status","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"ordering","type":"INT(16)","nullable":false,"primary_key":false},{"name":"custom_post_id","type":"INT(16) UNSIGNED","nullable":true,"primary_key":false},{"name":"conditions","type":"LONGTEXT","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_courses` ( `id` INT(16) UNSIGNED NOT NULL AUTO_INCREMENT, `post_id` INT(16) UNSIGNED DEFAULT NULL, `author_id` INT(16) UNSIGNED NOT NULL DEFAULT '0', `title` TEXT NOT NULL, `description` TEXT NOT NULL, `category_ids` TEXT NOT NULL, `question_ids` TEXT NOT NULL, `lesson_ids` TEXT NOT NULL, `section_ids` TEXT NOT NULL, `sections_count` INT(11) NOT NULL DEFAULT '0', `questions_count` INT(11) NOT NULL DEFAULT '0', `lessons_count` INT(11) NOT NULL DEFAULT '0', `date_created` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `date_modified` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `image` TEXT NOT NULL, `status` VARCHAR(256) NOT NULL DEFAULT 'published', `trash_status` VARCHAR(256) NOT NULL DEFAULT '', `ordering` INT(16) NOT NULL, `custom_post_id` INT(16) UNSIGNED DEFAULT NULL, `conditions` LONGTEXT NOT NULL, `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_courses' \", DB_NAME ) );"},{"table_name":"foxlms_lesson_reports","full_table_name":"wp_foxlms_lesson_reports","description":"Stores foxlms lesson reports data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"bigint(20) unsigned","nullable":false,"primary_key":true},{"name":"course_id","type":"bigint(20) unsigned","nullable":false,"primary_key":false},{"name":"lesson_id","type":"bigint(20) unsigned","nullable":false,"primary_key":false},{"name":"user_id","type":"bigint(20) unsigned","nullable":false,"primary_key":false},{"name":"report","type":"text","nullable":false,"primary_key":false},{"name":"status","type":"varchar(20)","nullable":false,"primary_key":false},{"name":"resolve_date","type":"datetime","nullable":true,"primary_key":false},{"name":"created","type":"datetime","nullable":false,"primary_key":false},{"name":"updated","type":"datetime","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_lesson_reports` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `course_id` bigint(20) unsigned NOT NULL DEFAULT '0', `lesson_id` bigint(20) unsigned NOT NULL DEFAULT '0', `user_id` bigint(20) unsigned NOT NULL DEFAULT '0', `report` text NOT NULL, `status` varchar(20) NOT NULL DEFAULT 'in_review', `resolve_date` datetime DEFAULT NULL, `created` datetime NOT NULL, `updated` datetime NOT NULL, PRIMARY KEY (`id`), KEY `course_id` (`course_id`), KEY `lesson_id` (`lesson_id`), KEY `user_id` (`user_id`), KEY `status` (`status`), KEY `created` (`created`) ) $charset_collate;\"; $results = $wpdb->get_results( $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_lesson_reports' \", DB_NAME ) );"},{"table_name":"foxlms_lessons","full_table_name":"wp_foxlms_lessons","description":"Stores foxlms lessons data created by this plugin.","detection_method":"static","confidence":"high","columns":[{"name":"id","type":"INT(16) UNSIGNED","nullable":false,"primary_key":true},{"name":"post_id","type":"INT(16) UNSIGNED","nullable":true,"primary_key":false},{"name":"course_id","type":"INT(16) UNSIGNED","nullable":true,"primary_key":false},{"name":"course_post_id","type":"INT(16) UNSIGNED","nullable":true,"primary_key":false},{"name":"author_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"section_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"category_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"question","type":"TEXT","nullable":false,"primary_key":false},{"name":"question_description","type":"TEXT","nullable":false,"primary_key":false},{"name":"lesson","type":"TEXT","nullable":false,"primary_key":false},{"name":"lesson_description","type":"TEXT","nullable":false,"primary_key":false},{"name":"type","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"status","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"trash_status","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"date_created","type":"DATETIME","nullable":false,"primary_key":false},{"name":"date_modified","type":"DATETIME","nullable":false,"primary_key":false},{"name":"user_variant","type":"TEXT","nullable":true,"primary_key":false},{"name":"user_explanation","type":"TEXT","nullable":true,"primary_key":false},{"name":"image","type":"TEXT","nullable":false,"primary_key":false},{"name":"ordering","type":"INT(11)","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_lessons` ( `id` INT(16) UNSIGNED NOT NULL AUTO_INCREMENT, `post_id` INT(16) UNSIGNED DEFAULT NULL, `course_id` INT(16) UNSIGNED DEFAULT NULL, `course_post_id` INT(16) UNSIGNED DEFAULT NULL, `author_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `section_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `category_ids` TEXT NOT NULL, `question` TEXT NOT NULL, `question_description` TEXT NOT NULL, `lesson` TEXT NOT NULL, `lesson_description` TEXT NOT NULL, `type` VARCHAR(256) NOT NULL DEFAULT '', `status` VARCHAR(256) NOT NULL DEFAULT 'published', `trash_status` VARCHAR(256) NOT NULL DEFAULT '', `date_created` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `date_modified` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `user_variant` TEXT NULL, `user_explanation` TEXT NULL, `image` TEXT NOT NULL, `ordering` INT(11) NOT NULL DEFAULT '1', `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_lessons' \", DB_NAME ) );"},{"table_name":"foxlms_orders","full_table_name":"wp_foxlms_orders","description":"Stores order records and related transaction data.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT(11)","nullable":false,"primary_key":true},{"name":"order_id","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"course_post_id","type":"INT(11)","nullable":false,"primary_key":false},{"name":"course_id","type":"INT(11)","nullable":false,"primary_key":false},{"name":"user_id","type":"INT(11)","nullable":false,"primary_key":false},{"name":"order_full_name","type":"TEXT","nullable":true,"primary_key":false},{"name":"order_email","type":"TEXT","nullable":true,"primary_key":false},{"name":"amount","type":"TEXT","nullable":false,"primary_key":false},{"name":"currency","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"payment_date","type":"DATETIME","nullable":false,"primary_key":false},{"name":"type","type":"TEXT","nullable":true,"primary_key":false},{"name":"status","type":"TEXT","nullable":true,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false},{"name":"coupon_info","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_orders` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `order_id` VARCHAR(256) NOT NULL DEFAULT '0', `course_post_id` INT(11) NOT NULL, `course_id` INT(11) NOT NULL, `user_id` INT(11) NOT NULL, `order_full_name` TEXT NULL DEFAULT NULL, `order_email` TEXT NULL DEFAULT NULL, `amount` TEXT NOT NULL, `currency` VARCHAR(256) NOT NULL DEFAULT '', `payment_date` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `type` TEXT NULL DEFAULT NULL, `status` TEXT NULL DEFAULT NULL, `options` TEXT NOT NULL, `coupon_info` TEXT NOT NULL, PRIMARY KEY (`id`) )$charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_orders' \", DB_NAME ) );"},{"table_name":"foxlms_question_answers","full_table_name":"wp_foxlms_question_answers","description":"Stores foxlms question answers data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":true},{"name":"course_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"lesson_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"question_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"user_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"answer","type":"TEXT","nullable":false,"primary_key":false},{"name":"date_created","type":"DATETIME","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_question_answers` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `course_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `lesson_id` INT(11) UNSIGNED NOT NULL, `question_id` INT(11) UNSIGNED NOT NULL, `user_id` INT(11) UNSIGNED NOT NULL, `answer` TEXT NOT NULL, `date_created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `options` TEXT NOT NULL, PRIMARY KEY (`id`), KEY `question_id` (`question_id`), KEY `lesson_id` (`lesson_id`), KEY `course_id` (`course_id`), KEY `user_id` (`user_id`) )$charset_collate;\"; $results = $wpdb->get_results( $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_question_answers' \", DB_NAME ) );"},{"table_name":"foxlms_questions","full_table_name":"wp_foxlms_questions","description":"Stores foxlms questions data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":true},{"name":"course_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"lesson_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"user_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"question","type":"TEXT","nullable":false,"primary_key":false},{"name":"date_created","type":"DATETIME","nullable":false,"primary_key":false},{"name":"likes","type":"INT(11)","nullable":false,"primary_key":false},{"name":"reply_count","type":"INT(11)","nullable":false,"primary_key":false},{"name":"status","type":"VARCHAR(50)","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_questions` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `course_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `lesson_id` INT(11) UNSIGNED NOT NULL, `user_id` INT(11) UNSIGNED NOT NULL, `question` TEXT NOT NULL, `date_created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `likes` INT(11) NOT NULL DEFAULT '0', `reply_count` INT(11) NOT NULL DEFAULT '0', `status` VARCHAR(50) NOT NULL DEFAULT 'published', `options` TEXT NOT NULL, PRIMARY KEY (`id`), KEY `lesson_id` (`lesson_id`), KEY `course_id` (`course_id`), KEY `user_id` (`user_id`) )$charset_collate;\"; $results = $wpdb->get_results( $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_questions' \", DB_NAME ) );"},{"table_name":"foxlms_sections","full_table_name":"wp_foxlms_sections","description":"Stores foxlms sections data created by this plugin.","detection_method":"static","confidence":"high","columns":[{"name":"id","type":"INT(16) UNSIGNED","nullable":false,"primary_key":true},{"name":"title","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"description","type":"TEXT","nullable":false,"primary_key":false},{"name":"ordering","type":"INT(11)","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_sections` ( `id` INT(16) UNSIGNED NOT NULL AUTO_INCREMENT, `title` VARCHAR(256) NOT NULL DEFAULT '', `description` TEXT NOT NULL, `ordering` INT(11) NOT NULL DEFAULT '1', `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_sections' \", DB_NAME ) );"},{"table_name":"foxlms_settings","full_table_name":"wp_foxlms_settings","description":"Stores foxlms settings data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":true},{"name":"meta_key","type":"TEXT","nullable":false,"primary_key":false},{"name":"meta_value","type":"TEXT","nullable":false,"primary_key":false},{"name":"note","type":"TEXT","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_settings` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `meta_key` TEXT NOT NULL, `meta_value` TEXT NOT NULL, `note` TEXT NOT NULL, `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_settings' \", DB_NAME ) );"},{"table_name":"foxlms_submissions","full_table_name":"wp_foxlms_submissions","description":"Stores form submissions and user-entered data.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT(11)","nullable":false,"primary_key":true},{"name":"course_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"post_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"user_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"questions_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"lessons_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"questions_post_ids","type":"TEXT","nullable":false,"primary_key":false},{"name":"user_ip","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"user_name","type":"TEXT","nullable":false,"primary_key":false},{"name":"user_email","type":"TEXT","nullable":false,"primary_key":false},{"name":"start_date","type":"DATETIME","nullable":false,"primary_key":false},{"name":"end_date","type":"DATETIME","nullable":false,"primary_key":false},{"name":"submission_date","type":"DATETIME","nullable":false,"primary_key":false},{"name":"country","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"city","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"duration","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"questions_count","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"lessons_count","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"unique_code","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"read","type":"TINYINT(3)","nullable":false,"primary_key":false},{"name":"status","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"password","type":"VARCHAR(256)","nullable":false,"primary_key":false},{"name":"point","type":"INT(11)","nullable":false,"primary_key":false},{"name":"changed","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"admin_note","type":"TEXT","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_submissions` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `course_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `post_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `user_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `questions_ids` TEXT NOT NULL, `lessons_ids` TEXT NOT NULL, `questions_post_ids` TEXT NOT NULL, `user_ip` VARCHAR(256) NOT NULL DEFAULT '', `user_name` TEXT NOT NULL, `user_email` TEXT NOT NULL, `start_date` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `end_date` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `submission_date` DATETIME NOT NULL DEFAULT '1000-01-01 00:00:00', `country` VARCHAR(256) NOT NULL DEFAULT '', `city` VARCHAR(256) NOT NULL DEFAULT '', `duration` VARCHAR(256) NOT NULL DEFAULT '0', `questions_count` VARCHAR(256) NOT NULL DEFAULT '0', `lessons_count` VARCHAR(256) NOT NULL DEFAULT '0', `unique_code` VARCHAR(256) NOT NULL DEFAULT '', `read` TINYINT(3) NOT NULL DEFAULT 0, `status` VARCHAR(256) NOT NULL DEFAULT 'published', `password` VARCHAR(256) NOT NULL DEFAULT '', `point` INT(11) NOT NULL DEFAULT '0', `changed` INT(11) UNSIGNED NOT NULL DEFAULT '0', `admin_note` TEXT NOT NULL, `options` TEXT NOT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_submissions' \", DB_NAME ) );"},{"table_name":"foxlms_submissions_lessons","full_table_name":"wp_foxlms_submissions_lessons","description":"Stores form submissions and user-entered data.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":true},{"name":"submission_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"question_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"lesson_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"section_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"course_id","type":"INT(11) UNSIGNED","nullable":false,"primary_key":false},{"name":"user_id","type":"INT(11)","nullable":false,"primary_key":false},{"name":"answer_id","type":"INT(11)","nullable":false,"primary_key":false},{"name":"user_answer","type":"TEXT","nullable":false,"primary_key":false},{"name":"user_variant","type":"TEXT","nullable":false,"primary_key":false},{"name":"user_explanation","type":"TEXT","nullable":false,"primary_key":false},{"name":"type","type":"TEXT","nullable":false,"primary_key":false},{"name":"options","type":"TEXT","nullable":false,"primary_key":false},{"name":"point","type":"INT(11)","nullable":false,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_submissions_lessons` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `submission_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `question_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `lesson_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `section_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `course_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `user_id` INT(11) NOT NULL DEFAULT '0', `answer_id` INT(11) NOT NULL DEFAULT '0', `user_answer` TEXT NOT NULL, `user_variant` TEXT NOT NULL, `user_explanation` TEXT NOT NULL, `type` TEXT NOT NULL, `options` TEXT NOT NULL, `point` INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_submissions_lessons' \", DB_NAME ) );"},{"table_name":"foxlms_teachers_activity","full_table_name":"wp_foxlms_teachers_activity","description":"Stores foxlms teachers activity data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"BIGINT(20) UNSIGNED","nullable":false,"primary_key":true},{"name":"user_id","type":"INT(20) UNSIGNED","nullable":false,"primary_key":false},{"name":"created","type":"DATETIME","nullable":false,"primary_key":false},{"name":"updated","type":"DATETIME","nullable":false,"primary_key":false},{"name":"status","type":"VARCHAR(256)","nullable":true,"primary_key":false},{"name":"options","type":"TEXT","nullable":true,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_teachers_activity` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT(20) UNSIGNED NOT NULL DEFAULT '0', `created` DATETIME NOT NULL, `updated` DATETIME NOT NULL, `status` VARCHAR(256) DEFAULT NULL, `options` TEXT DEFAULT NULL, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_teachers_activity' \", DB_NAME ) );"},{"table_name":"foxlms_user_activity","full_table_name":"wp_foxlms_user_activity","description":"Stores foxlms user activity data created by this plugin.","detection_method":"static","confidence":"medium","columns":[],"create_sql":"CREATE TABLE `wp_foxlms_user_activity` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', `post_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', `course_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', `type` VARCHAR(50) COLLATE"},{"table_name":"foxlms_user_activity_meta","full_table_name":"wp_foxlms_user_activity_meta","description":"Stores additional metadata (key-value pairs) for foxlms user activity records.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"BIGINT(20) UNSIGNED","nullable":false,"primary_key":true},{"name":"activity_id","type":"BIGINT(20) UNSIGNED","nullable":false,"primary_key":false},{"name":"meta_key","type":"VARCHAR(255)","nullable":true,"primary_key":false},{"name":"meta_value","type":"MEDIUMTEXT","nullable":true,"primary_key":false}],"create_sql":"CREATE TABLE `wp_foxlms_user_activity_meta` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `activity_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', `meta_key` VARCHAR(255) DEFAULT NULL, `meta_value` MEDIUMTEXT, PRIMARY KEY (`id`) ) $charset_collate;\"; $results = $wpdb->get_results(// phpcs:ignore $wpdb->prepare( \"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = %s AND table_name = 'wp_foxlms_user_activity_meta' \", DB_NAME ) );"}],"table_count":15}