relation "account_emailaddress" does not exist - django error

I think you added library providers after performing the first migration, this leaves pending migrations

run

python manage.py makemigrations allauth

and

python manage.py migrate allauth


I figured out what the problem was. the allauth uses account app which doesn't support migrations as yet. Initially I had run

python manage.py migrate allauth.socialaccount
python manage.py migrate allauth.socialaccount.providers.facebook

Along with this we need to run the syncdb to complete the puzzle.