code: def reset(db_name):
      
  
      conn = psycopg2.connect(database='postgres')
      db = Database(db_name)
      conn.autocommit = True
  
      with conn.cursor() as cursor:
          cursor.execute(db.drop_statement())
          cursor.execute(db.create_statement())
      conn.close()
docs: Reset database.