Database Versioning
-
Current version of the plugin executes gravitecnet_abandoned_cart_table() that in turn attempts to create a database table on every request. A better approach would be to implement a database versioning as described here.
In addition to that once the table is created, each subsequent call to the function generates a ‘DESCRIBE?IF;’ SQL error. It seems that dbDelta() does not handle CREATE TABLE IF NOT EXISTS statements well when there is no actual changes to be made to the database schema. This issue should be resolved once the database versioning is implemented.
- The topic ‘Database Versioning’ is closed to new replies.