This all refers to PostgreSQL, on other databases it will probably be different.
-
Create the new User model as an exact copy of
django.contrib.auth.models.User
(we assume it will beuser.User
then) -
Create the migrations and commit them
-
Run the following SQL to simulate that the migration has run
SELECT * FROM django_migrations_id_seq;