You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, every DB class calls register_table function when creating object ob that class which first do a SQL query to compare DB version, if we have the old version to DB then new table will install.
Description
Currently, every DB class calls
register_table
function when creating object ob that class which first do a SQL query to compare DB version, if we have the old version to DB then new table will install.ref: https://github.com/impress-org/give/blob/release/2.3.1/includes/class-give-db-comments.php#L43
We can reduce up to 10 query on every page load by moving table register functionality to plugin activate: https://github.com/impress-org/give/find/release%2F2.3.1
Acceptance Criteria
Get all DB version at once(no need)*_db_version
for table version comparisonThe text was updated successfully, but these errors were encountered: