You are here

function advagg_update_7210 in Advanced CSS/JS Aggregation 7.2

Add filesize_processed field to advagg_files table.

File

./advagg.install, line 591
Handles Advanced Aggregation installation and upgrade tasks.

Code

function advagg_update_7210() {
  if (!db_field_exists('advagg_files', 'filesize_processed')) {
    $spec = array(
      'description' => 'The file size in bytes after minification and compression.',
      'type' => 'int',
      'not null' => TRUE,
      'default' => 0,
    );
    db_add_field('advagg_files', 'filesize_processed', $spec);
  }
  return t('The filesize_processed field has been added to the advagg_files table.');
}