kopf/porick — pull request #29 by stesh (2012-05-19 16:46:22+00:00)
Title: Updated management and migration scripts

Added some new functions to the management script, and fixed a bug which caused usage messages to be printed unnecessarily.

Removed a small vulnerability in the migration script (race condition between dumping the DB to a file and reading it back in - a bad thing when mysql runs as root). It also now creates the database if it doesn't exist already, and grants the correct privileges on that database to the app's account.