Timeline for dbDelta only creates the last table
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2018 at 16:02 | comment | added | Felipe Elia | It tries to figure out what would be the necessary SQL query to alter that table and make it like the current CREATE TABLE statement. Give a look at lines ~2414 here: developer.wordpress.org/reference/functions/dbdelta | |
Oct 18, 2018 at 15:04 | comment | added | wlh | This is a good explanation. I can't tell from the Codex, but does DB delta try to create a table even if one exists and then throws an error? | |
May 2, 2018 at 19:24 | history | answered | Felipe Elia | CC BY-SA 4.0 |