New auto-patch type "DB"
Summary:
Instead of specifying "DB" type patches in code, use a JSON file in the autopatch directory.
Also move a few examples.
Closes T16305
Test Plan:
- `bin/storage upgrade` to existing install - these are listed as "new patches", but since invoking a db-type patch is `CREATE DATABASE IF NOT EXISTS`, nothing actually happens.
- `bin/storage upgrade` to a new setup - works cleanly.
Reviewers: O1 Blessed Committers, mainframe98
Reviewed By: O1 Blessed Committers, mainframe98
Subscribers: mainframe98, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T16305
Differential Revision: https://we.phorge.it/D26427