You are here

function token_custom_update_7000 in Custom Tokens 7

Updates Custom Tokens name and type fields to allow storing 128 characters.

File

./token_custom.install, line 69
Install, update and uninstall functions for the token_custom module.

Code

function token_custom_update_7000() {
  $schema = token_custom_schema();
  db_change_field('token_custom', 'name', 'name', $schema['token_custom']['fields']['name']);
  db_change_field('token_custom', 'type', 'type', $schema['token_custom']['fields']['type']);
}