Chitrank-Dixit / django-fcm

Django FCM provides firebase cloud messaging to android or ios support for django apps
https://django-fcm.readthedocs.io/en/latest/
MIT License
54 stars 28 forks source link

relation "fcm_device" does not exist #5

Closed mdamien closed 8 years ago

mdamien commented 8 years ago

When loading the admin, I get a classic error:

ProgrammingError at /admin/fcm/device/
relation "fcm_device" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "fcm_device"

I did run ./manage.py migrate but looks like there's no fcm_device table.

NOTE: To other people trying this package, I've had more success with fcm-django

Chitrank-Dixit commented 8 years ago

after following all the installation instructions for django-fcm try running

python manage.py makemigrations fcm then python manage.py migrate fcm

then I think it would work.

Chitrank-Dixit commented 8 years ago

I hope it resolved your issue @mdamien if not you can contact me on my mail I would help you out.

mdamien commented 8 years ago

Hi, sorry but I switched to fcm-django, but #12 fixed this issue