diff --git a/install/db/122-database.php b/install/db/122-database.php new file mode 100644 index 000000000..f9c437b5a --- /dev/null +++ b/install/db/122-database.php @@ -0,0 +1,83 @@ + $row['id'], + 'width' => $row['high_width'], + 'height' => $row['high_height'], + 'filesize' => $row['high_filesize'], + ) + ); + } +} + +if (count($updates) > 0) +{ + mass_updates( + IMAGES_TABLE, + array( + 'primary' => array('id'), + 'update' => array('width', 'height', 'filesize'), + ), + $updates + ); +} + +echo +"\n" +. $upgrade_description.sprintf(' (execution in %.3fs)', (get_moment() - $starttime)) +."\n" +; +?> \ No newline at end of file