Add LegacyJID table creation at startup

darcs-hash:20070616194628-86b55-94d68790fc2d5d546a8ceb519aa4eabd88792a8f.gz
This commit is contained in:
David Rousselie
2007-06-16 21:46:28 +02:00
parent 4a72392bf9
commit 5ef8a73beb

View File

@@ -21,6 +21,7 @@
##
from jcl.runner import JCLRunner
from jcl.model.account import LegacyJID
from jmc.model.account import MailAccount, IMAPAccount, POP3Account, SMTPAccount
from jmc.jabber.component import MailComponent
@@ -49,6 +50,7 @@ class JMCRunner(JCLRunner):
IMAPAccount.createTable(ifNotExists=True)
POP3Account.createTable(ifNotExists=True)
SMTPAccount.createTable(ifNotExists=True)
LegacyJID.createTable(ifNotExists=True)
def run(self):
def run_func():