--fake-initial does not follow PostgreSQL search_path schema list

7 views
Skip to first unread message

Axel Rau

unread,
Jun 8, 2019, 3:51:35 PM6/8/19
to Django users
The database user sets a search_path to a,b
In schema b exists a set of tables corresponding to models and inital_migration.
Running
migrate --fake-initial app inital_migration
recreates all table in schema a.
Documentation says "--fake-initial does nothing if tables already exist.

Is this a bug in 2.2?
Any workaround?

Any help appreciated,
Axel
---
PGP-Key:29E99DD6 ☀ computing @ chaos claudius

Axel Rau

unread,
Jun 11, 2019, 3:52:17 AM6/11/19
to Django users
This worked with Django 2.1. Seems to be a bug in 2.2
Axel

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0A4BC5B1-7C07-4E2E-9185-97606B16B47E%40Chaos1.DE.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages