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 (?).
I think you mean revision 1396? bazaar. launchpad. net/~piotr/ griffith/ trunk/revision/ 1396
http://
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 (?).