function print_update_7103 in Printer, email and PDF versions 7
Increase size of the path field in the print_page_counter table
File
- ./
print.install, line 182 - Install, update and uninstall functions for the print module.
Code
function print_update_7103(&$sandbox) {
db_drop_primary_key('print_page_counter');
db_change_field('print_page_counter', 'path', 'path', array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'description' => 'Page path',
), array(
'primary key' => array(
'path',
),
));
}