{"table_name":"emr_assignments","full_table_name":"wp_emr_assignments","description":"Stores emr assignments data created by this plugin.","detection_method":"static","confidence":"medium","create_sql":"CREATE TABLE IF NOT EXISTS wp_emr_assignments ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, shift_id BIGINT UNSIGNED NOT NULL, user_id BIGINT UNSIGNED NOT NULL, status VARCHAR(20) NOT NULL DEFAULT 'confirmed', assigned_by BIGINT UNSIGNED NOT NULL DEFAULT 0, assigned_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, reviewed_by BIGINT UNSIGNED DEFAULT NULL, reviewed_at DATETIME DEFAULT NULL, PRIMARY KEY (id), UNIQUE KEY uq_shift_user (shift_id, user_id), KEY idx_user (user_id), KEY idx_shift (shift_id), KEY idx_status (status) ) $c;\" );","columns":[{"name":"id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":true},{"name":"shift_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"user_id","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"status","type":"VARCHAR(20)","nullable":false,"primary_key":false},{"name":"assigned_by","type":"BIGINT UNSIGNED","nullable":false,"primary_key":false},{"name":"assigned_at","type":"DATETIME","nullable":false,"primary_key":false},{"name":"reviewed_by","type":"BIGINT UNSIGNED","nullable":true,"primary_key":false},{"name":"reviewed_at","type":"DATETIME","nullable":true,"primary_key":false}],"plugin":{"slug":"employee-roster","name":"EmpRoster","active_installs":0,"version":"2.8.35","wp_org_url":"https://wordpress.org/plugins/employee-roster/"}}