update unread_messages table for those who already have it

This commit is contained in:
Yann Leboulanger 2006-04-11 11:31:16 +00:00
parent 145db1a107
commit 84f0307085
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ def assert_unread_msgs_table_exists():
''' '''
) )
con.commit() con.commit()
#FIXME: remove before release 0.10, it's temporary
cur.executescript('ALTER TABLE unread_messages ADD jid_id;')
con.commit()
gajim.logger.init_vars() gajim.logger.init_vars()
except sqlite.OperationalError, e: except sqlite.OperationalError, e:
pass pass