pinax / pinax-notifications

user notification management for the Django web framework
MIT License
752 stars 211 forks source link

Migration fails with Django-1.8.2 and MariaDB #49

Closed jantoniomartin closed 9 years ago

jantoniomartin commented 9 years ago

After trying to solve issue #48 without success, I decided to try with Django-1.8.2 and a new, empty database. When running python manage.py migrate, this is the exception I get:

django.db.utils.OperationalError: (1005, 'Can\'t create table `app_dev`.`#sql-903_12fd` (errno: 150 "Foreign key constraint is incorrectly formed")')

Then I have tried a new sqlite3 database and the migration runs correctly.

jantoniomartin commented 9 years ago

I have made more tests and this is not a bug in pinax-notifications. My apologies.

ghost commented 8 years ago

@jantoniomartin I am currently have this exact same trouble. How do you resolved that issue ?

alaa-aqeel commented 3 years ago

solved this way