migrate skip in django

  1. Open the terminal or command prompt.

  2. Navigate to the directory containing the Django project.

  3. Run the command "python manage.py migrate --fake" to mark all migrations as applied without running the actual SQL migrations.

  4. To selectively fake specific apps' migrations, use the command "python manage.py migrate --fake [app_label] [migration_name]".

  5. Confirm that the migrations have been marked as applied without actually applying them by checking the database schema.