With the exorcism of Pylons and SQLAlchemy, we are left with no script that will create an empty database or upgrade an existing one. This should be rectified... start with an SQL dump of the existing database schema - build it into a script
This is written and checked in, however, it should not be used until 432450 is complete.
this script is complete along with a library called .../socorro/database/schema.py to support both initialization and upgrade. The initialization script is called setupDatabase.py