HomePhorge

Add dry-run, max version options to upgrade_schema.php script

Description

Add dry-run, max version options to upgrade_schema.php script

Summary:

  1. Dry run option allows you to run the script to see what patches would get

applied (without actually applying them).

  1. Max version allows you to do a partial upgrade.

Task ID: #

Blame Rev:

Test Plan:
ran a dry run twice (to make sure it didn't do anything) and no max version
ran with a dry run and max version to check max version logic works correctly
ran with just a max version, and only patches up to that point got applied

Revert Plan:

Tags:

Reviewers: epriestley, btrahan, jungejason

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1758

Details

Provenance
Nick HarperAuthored on Mar 2 2012, 11:09 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP974efd6d65a5: Minor, remove metamta reference from update script.
Branches
Unknown
Tags
Unknown

Event Timeline