This plugin is no longer needed. The custom table code is now part of Action Scheduler version 3.0 and newer. If you're using the latest Action Scheduler, you have the most performant schema available.
When creating a new action in the DB_Store class, we don't do any checking to verify that the ID is valid, or that no error occurred. When an error occurs, I've found that the ID will be set to 0, which is one way to check that the insertion was successful. We should also be able to check $wpdb->last_error.
When creating a new action in the DB_Store class, we don't do any checking to verify that the ID is valid, or that no error occurred. When an error occurs, I've found that the ID will be set to
0
, which is one way to check that the insertion was successful. We should also be able to check$wpdb->last_error
.