I am using FOREIGN KEY with dbDelta when activating the plugin (register_activation_hook()). It works great […]
Tag: dbdelta
What files to keep after upgrading WordPress?
We were recently handed a few blogs/sites to support, that have started way back when […]
dbDelta ALTER TABLE syntax?
Due to some changes in the DB, I need to alter a table to add […]
dbDelta not creating tables
I went through a lot of threads, codex page and tried messing with a lot […]
Does dbDelta delete columns as well?
I created a table using the dbDelta function and then removed a few columns and […]
Problem in creating table through plugin code
I’m using the following code to create the database table using plugin. However, the table […]
dbDelta support for FOREIGN KEY
On PHP 5.3.13/MySQL 5.5.21 the following code doesn’t work: if($check_custom_fields_form!=1){ $sql = “CREATE TABLE IF […]
dbDelta only creates the last table
I’m using following install function with dbDelta as referring to the codex, articles on SO […]
Problems with DBDelta with FOREIGN key?
I have the following sql I am using with dbDelta: $sql .= “CREATE TABLE ” […]
No More Posts Available.
No more pages to load.