function panels_update_7300 in Panels 7.3
Change panels_display.layout to match the size of panels_layout.name.
File
- ./
panels.install, line 441
Code
function panels_update_7300() {
// Load the schema.
$schema = panels_schema_3();
$table = 'panels_display';
$field = 'layout';
$spec = $schema[$table]['fields'][$field];
// Re-define the column.
db_change_field($table, $field, $field, $spec);
return t('Changed the panels_display.layout field to the correct size.');
}