Révision a2baadd1
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/print/print.install | ||
---|---|---|
126 | 126 |
'fields' => array( |
127 | 127 |
'path' => array( |
128 | 128 |
'type' => 'varchar', |
129 |
'length' => 128,
|
|
129 |
'length' => 255,
|
|
130 | 130 |
'not null' => TRUE, |
131 | 131 |
'description' => 'Page path', |
132 | 132 |
), |
... | ... | |
175 | 175 |
$link_pos['help'] = 'help'; |
176 | 176 |
variable_set('print_html_link_pos', $link_pos); |
177 | 177 |
} |
178 |
|
|
179 |
/** |
|
180 |
* Increase size of the path field in the print_page_counter table |
|
181 |
*/ |
|
182 |
function print_update_7103(&$sandbox) { |
|
183 |
db_drop_primary_key('print_page_counter'); |
|
184 |
db_change_field('print_page_counter', 'path', 'path', |
|
185 |
array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'description' => 'Page path'), |
|
186 |
array('primary key' => array('path'))); |
|
187 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules