%pre and %post could handle dumping the current database to, say, /var/lib/phabricator/$x.sql, and execute ./bin/storage upgrade --force >/var/log/phabricator/rpm.log 2>&1 upon update.
./bin/storage upgrade --force >/var/log/phabricator/rpm.log 2>&1
This will require some documentation as well, so I'm adding the README tags.
An initial version is included in 7b93902
This seems to work just fine
@kanarip changed the status to Closed
Closed