Changes between Version 1 and Version 2 of Ticket #25238


Ignore:
Timestamp:
Aug 6, 2015, 1:05:20 PM (9 years ago)
Author:
Vaibhav Mallya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25238 – Description

    v1 v2  
    22http://stackoverflow.com/questions/31844053/bizarre-issues-with-django-1-8-migrations-custom-user-model-and-postgres-mysql
    33
    4 Basically - developing with SQLite3 worked perfectly fine with my custom user model {{{class Client(AbstractBaseUser, PermissionsMixin}}}
     4Basically - developing with SQLite3 worked perfectly fine with my custom user model {{{class Client(AbstractBaseUser, PermissionsMixin}}} and custom User Manager {{{class UserManager(BaseUserManager):}}}
    55
    66  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.
Back to Top