You are here

function node_field_update_7002 in Node Field 7.2

Change definition of options field.

File

./node_field.install, line 140
Install/update/uninstall scripts for node_field module.

Code

function node_field_update_7002() {
  $field = [
    'type' => 'text',
    'size' => 'big',
    'not null' => FALSE,
    'serialize' => TRUE,
  ];
  db_change_field('node_field', 'options', 'settings', $field);
}