django-tenant-schemas icon indicating copy to clipboard operation
django-tenant-schemas copied to clipboard

Issue in django squashed migration while migrating the app from django 1.11 to django 3.0

Open vimal1083 opened this issue 5 years ago • 0 comments
trafficstars

The app was running on 1.11. we are migrating it to 3.0. As it is a multi-tenanted system we use django-tenant-schema.

Consider the app is running on django 1.11, I ran django migrate_schemas command, it ran all the migrations, Then I switch to different virtualenv where django 3.0 is installed but here the showmigrations command says below migration hasn't run 0023_auto_20180921_1708_squashed_0025_auto_20180921_1727

It should be same in both django versions, isn't it?

In screenshot, left side is django 3.0 and right side is django 1.11

Stackoverflow question: https://stackoverflow.com/questions/64229192/issue-in-django-squashed-migration-while-migrating-the-app-from-django-1-11-to-d

vimal1083 avatar Oct 06 '20 15:10 vimal1083