# Pastebin QNqvHk7e # otherwise, this db is new, so we dont bother using the migration engine # and just create the tables, and put the version directly to # latest else: # do some tests before getting started test_unicode(engine) log.msg("Initializing empty database") Model.metadata.create_all(engine) repo = migrate.versioning.repository.Repository(self.repo_path) version_control(engine, repo.latest)