Katello/katello — pull request #83 by iNecas (2012-05-07 08:13:32+00:00)
Title: clear candlepin database when upgrading in development

Candlepin no longer clears the database on upgrade. Since we produce an sql
file for restoring the status of database to the starting point after upgrading
we need clear CP database. Therefore delete the candlepin database when
upgrading and let it recreate by cpsetup.

Otherwise katello-stack initdb fails when running after update.