after adding index thumbnail and before edititing the database.yml