'Keep track of when the files were modified.', 'fields' => array( 'filename' => array( 'description' => 'Path of the file relative to Drupal webroot.', 'type' => 'text', 'size' => 'normal', 'not null' => TRUE, ), 'filename_md5' => array( 'description' => 'MD5 hash of filename', 'type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => '', ), 'selector_count' => array( 'description' => 'CSS selector count of the file.', 'type' => 'int', 'not null' => TRUE, ), 'timestamp' => array( 'description' => 'Last modified timestamp of the file.', 'type' => 'int', 'not null' => TRUE, ), ), 'primary key' => array('filename_md5'), ); return $schema; } /** * Create new database table {advagg_bundler_selector_count}. */ function advagg_bundler_update_6100() { $schema['advagg_bundler_selector_count'] = array( 'description' => 'Keep track of when the files were modified.', 'fields' => array( 'filename' => array( 'description' => 'Path of the file relative to Drupal webroot.', 'type' => 'text', 'size' => 'normal', 'not null' => TRUE, ), 'filename_md5' => array( 'description' => 'MD5 hash of filename', 'type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => '', ), 'selector_count' => array( 'description' => 'CSS selector count of the file.', 'type' => 'int', 'not null' => TRUE, ), 'timestamp' => array( 'description' => 'Last modified timestamp of the file.', 'type' => 'int', 'not null' => TRUE, ), ), 'primary key' => array('filename_md5'), ); $ret = array(); db_create_table($ret, 'advagg_bundler_selector_count', $schema['advagg_bundler_selector_count']); return $ret; }