parameters: ()
docstring: Warn the user to back up their database before the script runs.
docstring_summary: Warn the user to back up their database before the script runs.
docstring_tokens: Warn the user to back up their database before the script runs .
function: def warn_user():
      """Warn the user to back up their database before the script runs."""
      response = input(
          'WARNING: This script will alter your database! Be sure to back up your data before running.\nContinue running DB migration? (y/n) '
      ).strip()
      while response.lower() != 'y' and response.lower() != 'n':
          response = input(
              'Did not recognize response.\nContinue running DB migration? (y/n) '
          ).strip()
      if response.lower() == 'n':
          sys.exit()
function_tokens: def warn_user ( ) : response = input ( 'WARNING: This script will alter your database! Be sure to back up your data before running.\nContinue running DB migration? (y/n) ' ) . strip ( ) while response . lower ( ) != 'y' and response . lower ( ) != 'n' : response = input ( 'Did not recognize response.\nContinue running DB migration? (y/n) ' ) . strip ( ) if response . lower ( ) == 'n' : sys . exit ( )