@property<EOL><INDENT>def metadata(self):<DEDENT>
return self.db.metadata<EOL>
Backwards compatibility, in old releases app.extensions['migrate']
was set to db, and env.py accessed app.extensions['migrate'].metadata