You are here

function page_theme_update_6102 in Page Theme 6

Same name and namespace in other branches
  1. 7.2 page_theme.install \page_theme_update_6102()
  2. 7 page_theme.install \page_theme_update_6102()

Implementation of hook_update_N().

Rename field preview to editpage.

File

./page_theme.install, line 124
Install, update and uninstall functions for the page_theme module.

Code

function page_theme_update_6102() {
  $ret = array();
  db_change_field($ret, 'page_theme', 'preview', 'editpage', array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}