wp_cbt_course_enrollments
StaticStores cbt course enrollments data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT UNSIGNED | NO |
| user_id | BIGINT UNSIGNED | NO |
| course_id | BIGINT UNSIGNED | NO |
| enrolled_at | DATETIME | NO |
| status | VARCHAR(20) | YES |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS wp_cbt_course_enrollments ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, user_id BIGINT UNSIGNED NOT NULL, course_id BIGINT UNSIGNED NOT NULL, enrolled_at DATETIME NOT NULL, status VARCHAR(20) DEFAULT 'active', PRIMARY KEY (id), UNIQUE KEY unique_enrollment (user_id, course_id), KEY user_id (user_id), KEY course_id (course_id) ) $charset_collate;"; dbDelta($enrollments);
Safe to delete?
If you have uninstalled Smitacs CBT Ujian, this table is generally safe to remove. However, always back up your database first.
Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.
How to remove this table
DROP TABLE IF EXISTS `wp_cbt_course_enrollments`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Smitacs CBT Ujian