Fix tables order creation

This commit is contained in:
David Rousselie
2012-05-25 09:04:35 +02:00
parent 1fdbb84be7
commit 6893bcf7f7

View File

@@ -208,9 +208,9 @@ class JCLRunner(object):
debug = property(get_debug, set_debug) debug = property(get_debug, set_debug)
def setup_db(self): def setup_db(self):
User.createTable(ifNotExists=True)
Account.createTable(ifNotExists=True) Account.createTable(ifNotExists=True)
PresenceAccount.createTable(ifNotExists=True) PresenceAccount.createTable(ifNotExists=True)
User.createTable(ifNotExists=True)
LegacyJID.createTable(ifNotExists=True) LegacyJID.createTable(ifNotExists=True)
def setup_pidfile(self): def setup_pidfile(self):