RE
Davit Tovmasyan The commented out lines in this code really shouldn't be commented out. Also operations should contain migrations.SeparateDatabaseAndState, and state_operations within it, not the other way around. # Generated by Django 3.0.5 once upon a time :) from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] state_operations = [ # operations = [ # migrations.SeparateDatabaseAndState(state_operations=state_operations), ]