xtrinch / fcm-django

FCM Django: Send push notifications via django to websites, iOS & android mobile devices through FCM (Firebase Cloud Messaging)
http://fcm-django.readthedocs.io/
MIT License
775 stars 196 forks source link

Migrations on 0.3.1 are broken #106

Closed tpazderka closed 5 years ago

tpazderka commented 5 years ago

The renaming of migrations in 0.3.1 can cause applications that already reference this node to break as the dependency no longer exists.

Migration XXX dependencies reference nonexistent parent node ('fcm_django', '0004_auto_20181128_1642')

The correct fix should have been to change the dependency but not renaming the file as that serves as a reference for other projects.

xtrinch commented 5 years ago

You're correct.. Not sure what to do now, release 0.3.2 with the correct dependency tree and hope that not too many people installed 0.3.0 & 0.3.1?

xtrinch commented 5 years ago

I've released 0.3.2 with the correct dependency tree

tpazderka commented 5 years ago

This fix works for me, not sure if others might be affected by this.

pwqw commented 5 years ago

works both for me: v0.3.1 and 0.3.2

xtrinch commented 5 years ago

Probably depends on django version.