I'm developing it for a long time, do you register an email with the postgresql user?

Asked 2 years ago, Updated 2 years ago, 48 views

I am currently using postgresql 9.4 with postgis 2.1.

I'm trying to make an application with a long storage. When I tried to install django-allauth, when python3 manage.py migrate

Due to a lengthy error, django.db.utils.ProgrammingError: relationship "account_emailaddress" does not exist

occurs.

When I looked it up, I thought it was an error related to DATABASE.

So I remembered that if there was an e-mail box when I installed Post-Grescuel and created a user, I would have omitted it. I wonder if there is a way to register an email with an already existing user or register an email together when creating a user.

I understand that you are using postgres, the default user. I'm a beginner, so I don't know.

I'd appreciate it if you let me know.

django postgresql

2022-09-22 13:37

1 Answers

I searched for the error message you posted

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

It is said that it was solved by performing syncdb as follows.

Would you like to try makemigration instead of syncdb?

[Source](http://stackoverflow.com/questions/25821768/relation-account-emailaddress-does-not-exist-django-error)


2022-09-22 13:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.