def onSync(self, event):
SETUP = self.statement('<STR_LIT>')<EOL>if SETUP:<EOL><INDENT>sql, data = SETUP(self.database())<EOL>if event.context.dryRun:<EOL><INDENT>print(sql % data)<EOL><DEDENT>else:<EOL><INDENT>self.execute(sql, data, writeAccess=True)<EOL><DEDENT><DEDENT>
Initializes the database by defining any additional structures that are required during selection.