diff --git a/sql/upgrade/26.0/README.rst b/sql/upgrade/26.0/README.rst index 3fe4bef588..f094b235ed 100644 --- a/sql/upgrade/26.0/README.rst +++ b/sql/upgrade/26.0/README.rst @@ -13,5 +13,11 @@ bug #807349 bug #773332 Add FlashProcessDump to reports and reports_clean +bug FIXME + Update and backfill crashes-per-user + +bug FIXME + Update ADU + The above changes should take only a few minutes to deploy. This upgrade does not require a downtime. diff --git a/sql/upgrade/25.0/backfill_crashes_by_user.sql b/sql/upgrade/26.0/backfill_crashes_by_user.sql similarity index 100% rename from sql/upgrade/25.0/backfill_crashes_by_user.sql rename to sql/upgrade/26.0/backfill_crashes_by_user.sql diff --git a/sql/upgrade/25.0/update_adu.sql b/sql/upgrade/26.0/update_adu.sql similarity index 100% rename from sql/upgrade/25.0/update_adu.sql rename to sql/upgrade/26.0/update_adu.sql diff --git a/sql/upgrade/25.0/update_crashes_by_user.sql b/sql/upgrade/26.0/update_crashes_by_user.sql similarity index 100% rename from sql/upgrade/25.0/update_crashes_by_user.sql rename to sql/upgrade/26.0/update_crashes_by_user.sql diff --git a/sql/upgrade/26.0/upgrade.sh b/sql/upgrade/26.0/upgrade.sh index f8526d0a43..a785ef1247 100755 --- a/sql/upgrade/26.0/upgrade.sh +++ b/sql/upgrade/26.0/upgrade.sh @@ -19,6 +19,15 @@ psql -f ${CURDIR}/exploitability_column.sql $DBNAME echo 'Add FlashProcessDump to reports and reports_clean' echo 'bug 773332' psql -f ${CURDIR}/add_flash_process_dump.sql $DBNAME +echo 'Update "crashes by user"' +echo 'bug FIXME' +psql -f ${CURDIR} update_crashes_by_user.sql $DBNAME +echo 'Backfill "crashes by user"' +echo 'bug FIXME' +psql -f ${CURDIR} backfill_crashes_by_user.sql $DBNAME +echo 'Update ADU' +echo 'bug FIXME' +psql -f ${CURDIR} update_adu.sql $DBNAME #change version in DB psql -c "SELECT update_socorro_db_version( '$VERSION' )" $DBNAME