update_sql

Functions that call update_sql()

Namesort iconLocationDescription
db_add_columnupdate.phpAdd a column to a database using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array.
db_change_columnupdate.phpChange a column definition using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array.
hook_update_Ndeveloper/hooks/install.phpPerform a single update. For each patch which requires a database change add a new hook_update_N() which will be called by update.php.
system_update_159database/updates.incRetrieve data out of the old_revisions table and put into new revision system.
system_update_182database/updates.incThe lid field in pgSQL should not be UNIQUE, but an INDEX.
system_update_183database/updates.incCid matching by MySQL should be case-sensitive.
update_convert_table_utf8update.phpConvert a single MySQL table to UTF-8.
update_fix_watchdog_115update.phpSystem update 115 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.