def init_db(app):
 try:
  app.log.info('Initializing EasyEngine Database')
  Base.metadata.create_all(bind=engine)
 except Exception as e:
  app.log.debug('{0}'.format(e))

def init_db ( app ) : try : app . log . info ( 'Initializing EasyEngine Database' ) Base . metadata . create_all ( bind = engine ) except Exception as e : app . log . debug ( '{0}' . format ( e ) )
initializes and creates all tables from models into the database .