Révision a2baadd1
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/print/print_mail/print_mail.install | ||
---|---|---|
115 | 115 |
'fields' => array( |
116 | 116 |
'path' => array( |
117 | 117 |
'type' => 'varchar', |
118 |
'length' => 128,
|
|
118 |
'length' => 255,
|
|
119 | 119 |
'not null' => TRUE, |
120 | 120 |
'description' => 'Page path', |
121 | 121 |
), |
... | ... | |
201 | 201 |
$link_pos['help'] = 'help'; |
202 | 202 |
variable_set('print_mail_link_pos', $link_pos); |
203 | 203 |
} |
204 |
|
|
205 |
/** |
|
206 |
* Increase size of the path field in the print_mail_page_counter table |
|
207 |
*/ |
|
208 |
function print_mail_update_7103(&$sandbox) { |
|
209 |
db_drop_primary_key('print_mail_page_counter'); |
|
210 |
db_change_field('print_mail_page_counter', 'path', 'path', |
|
211 |
array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'description' => 'Page path'), |
|
212 |
array('primary key' => array('path'))); |
|
213 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules