Hi,

On Thursday 13 April 2017 18:18:57 Brock Hallenbeck wrote:
> 
> Due to these duplicate tables, my process of setting up an app database is
> as follows:
> 
> 1.Create database on server / point django at it / set up router
> 2. migrate <app> --database=app_db
> 3. Delete all the duplicate auth_* and django_* tables
> 4. Run FDW script importing auth_* and django_* tables from auth_db
> 
> If I could do something like python manage.py migrate <app>
> --database=app_db --ignore-dep I could do something like:
> 
> 1. Create database on server / point django at it / set up router
> 2. Run FDW script importing auth_* and django_* tables from auth_db
> 3. migrate <app> --database=app_db --ignore-dep
> 
> All thoughts and criticisms welcome.

Instinctively, the process I would expect is:

1. Create database on server / point django at it / set up router
2. Run FDW script importing auth_* and django_* tables from auth_db
3. migrate --database=app_db --fake auth  # etc
4. migrate <app> --database=app_db

Why does that not solve your problem?

Reply via email to