please i need help with my site www.smartstuddy.com. it is a Q and A site. i just added a new library django-notifications-hq to enable notification on the site. now i am getting a server whenever i click on a question. an example of the error is given below.
i already ran makemigration and migrate commands after adding the library.
OperationalError at /question-detail/ac-circuit-containing-only-one-resistor-and-capaci/
(1054, "Unknown column 'homework_answer.notifications' in 'field list'")
Request Method: GET
Request URL: https://www.smartstuddy.com/question-detail/ac-circuit-containing-only-one-resistor-and-capaci/
Django Version: 3.1.2
Exception Type: OperationalError
Exception Value:
(1054, "Unknown column 'homework_answer.notifications' in 'field list'")
Exception Location: /home/Mecury/.virtualenvs/myenv/lib/python3.8/site-packages/MySQLdb/connections.py, line 259, in query
Python Executable: /usr/local/bin/uwsgi
Python Version: 3.8.0
Python Path:
['/var/www',
'.',
'',
'/var/www',
'/home/Mecury/.virtualenvs/myenv/lib/python38.zip',
'/home/Mecury/.virtualenvs/myenv/lib/python3.8',
'/home/Mecury/.virtualenvs/myenv/lib/python3.8/lib-dynload',
'/usr/lib/python3.8',
'/home/Mecury/.virtualenvs/myenv/lib/python3.8/site-packages',
'/home/Mecury/sass/assignment']
Server time: Sat, 19 Jun 2021 04:57:07 +0100
[formatted by admin]