You are here

function hosting_package_update_7301 in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 package/hosting_package.install \hosting_package_update_7301()

Change filename field to longtext.

File

package/hosting_package.install, line 541
Define database schema and update functions for the package management module.

Code

function hosting_package_update_7301() {
  $spec = array(
    'type' => 'text',
    'size' => 'normal',
    'not null' => TRUE,
  );
  db_change_field('hosting_package_instance', 'filename', 'filename', $spec);
}