z.Z. mache ich Updates z.B. so:
Code: Alles auswählen
58 # lastupdatetime einfügen
59 for table in ("groups", "md5users", "templates", "user_group"):
60 SQLcommand = (
61 "ALTER TABLE $$%s ADD lastupdatetime"
62 " datetime NOT NULL default '0000-00-00 00:00:00';"
63 ) % table
64 msg = (
65 "add 'lastupdatetime' column in '%s'-table"
66 ) % table
67 self._execute(msg,SQLcommand)
Jemand eine Ahnung?