Tuesday, June 11, 2019

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

This worked with Django 2.1. Seems to be a bug in 2.2
Axel

Am 08.06.2019 um 21:50 schrieb Axel Rau <Axel.Rau@chaos1.de>:

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

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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.

---
PGP-Key:29E99DD6  ☀  computing @ chaos claudius

No comments:

Post a Comment