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