Projet

Général

Profil

Révision a2baadd1

Ajouté par Assos Assos il y a environ 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/print/print_pdf/print_pdf.install
103 103
    'fields' => array(
104 104
      'path' => array(
105 105
        'type' => 'varchar',
106
        'length' => 128,
106
        'length' => 255,
107 107
        'not null' => TRUE,
108 108
        'description' => 'Page path',
109 109
      ),
......
155 155
  $link_pos['help'] = 'help';
156 156
  variable_set('print_pdf_link_pos', $link_pos);
157 157
}
158

  
159
/**
160
 * Increase size of the path field in the print_pdf_page_counter table
161
 */
162
function print_pdf_update_7105(&$sandbox) {
163
  db_drop_primary_key('print_pdf_page_counter');
164
  db_change_field('print_pdf_page_counter', 'path', 'path',
165
    array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'description' => 'Page path'),
166
    array('primary key' => array('path')));
167
}

Formats disponibles : Unified diff