Comment 2 for bug 708472

Revision history for this message
Danny Adair (danny-adair) wrote :

I think you mean revision 1396?
http://bazaar.launchpad.net/~piotr/griffith/trunk/revision/1396

Unfortunately, now that the database is upgraded it won't get upgraded again (and I don't have an old copy).

However, I quickly tested by adjusting sql.py so that dbupgrade.ugrade_database() is called even if the version is already current, and logged self.session.bind.name - turns out it is "postgresql" not "postgres". That's not what I read in sqlalchemy's docs, so maybe check self.session.bind.name in ['postgres', 'postgresql'] - maybe it varies in different versions (?).