Fixed indentation errors in database.py