candlepin/candlepin — pull request #222 by jmrodri (2013-04-08 17:56:11+00:00)
Title: look at upstream_name *NOT* upstream_id

I re-added upstream_id to the cp_import_record table rendering the
precondition invalid. The precondition needs to check a column that
has been removed like: upstream_name.

TEST
-------
* Deploy with GENDB=1
* Redeploy with GENDB=0

The redeploy should work, to see the error use master and run the above 2 deploy scenarios. The second one will fail with an exception.