wp_courserelay_completions
StaticStores courserelay completions data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | int(11) | NO |
| content_id | int(11) | NO |
| user_id | int(11) | NO |
| post_id | int(11) | NO |
| course_id | int(11) | NO |
| registration | varchar(255) | YES |
| status | varchar(16) | YES |
| score | float | YES |
| time_spent | int(11) | YES |
| completed_at | timestamp | NO |
CREATE TABLE Statement
CREATE TABLE wp_courserelay_completions ( id int(11) NOT NULL AUTO_INCREMENT, content_id int(11) NOT NULL, user_id int(11) NOT NULL, post_id int(11) NOT NULL DEFAULT 0, course_id int(11) NOT NULL DEFAULT 0, registration varchar(255) DEFAULT NULL, status varchar(16) DEFAULT NULL, score float DEFAULT NULL, time_spent int(11) DEFAULT NULL, completed_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY user_content (user_id, content_id), KEY user_post (user_id, post_id) ) $charset"; dbDelta( $sql );
Safe to delete?
If you have uninstalled CourseRelay – SCORM Support for LearnDash LMS, 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_courserelay_completions`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from CourseRelay – SCORM Support for LearnDash LMS