Changes between Version 1 and Version 2 of Ticket #25238
- Timestamp:
- Aug 6, 2015, 1:05:20 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25238 – Description
v1 v2 2 2 http://stackoverflow.com/questions/31844053/bizarre-issues-with-django-1-8-migrations-custom-user-model-and-postgres-mysql 3 3 4 Basically - developing with SQLite3 worked perfectly fine with my custom user model {{{class Client(AbstractBaseUser, PermissionsMixin}}} 4 Basically - developing with SQLite3 worked perfectly fine with my custom user model {{{class Client(AbstractBaseUser, PermissionsMixin}}} and custom User Manager {{{class UserManager(BaseUserManager):}}} 5 5 6 6 When time came to get to production and use postgres or mysql, things started failing. The root of it is that the migrations aren't being run in the right order, and there are foreign key relations that aren't maintained.