code: def drop(self, force=False):
          
          if not self.exists:
              logger.info("Schema named `{database}` does not exist. Doing nothing.".format(database=self.database))
          elif (not config['safemode'] or
                force or
                user_choice("Proceed to delete entire schema `%s`?" % self.database, default='no') == 'yes'):
              logger.info("Dropping `{database}`.".format(database=self.database))
              try:
                  self.connection.query("DROP DATABASE `{database}`".format(database=self.database))
                  logger.info("Schema `{database}` was dropped successfully.".format(database=self.database))
              except pymysql.OperationalError:
                  raise DataJointError("An attempt to drop schema `{database}` "
                                       "has failed. Check permissions.".format(database=self.database))
docs: Drop the associated schema if it exists