wp_courserelay_completions

Static

Stores courserelay completions data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑idint(11)NO
content_idint(11)NO
user_idint(11)NO
post_idint(11)NO
course_idint(11)NO
registrationvarchar(255)YES
statusvarchar(16)YES
scorefloatYES
time_spentint(11)YES
completed_attimestampNO

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