Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

192
Vistas
Is it possible run makemigrations with deleted schema?

My all SQL schema was deleted cause of windows10 initialization. So, I wanna run makemigrations with already existing django project code(with so many lines......). But "python manage.py makemigrations" not works with error 'Table doesn't exist'... Is there some methods overcome these situations ???

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Your existing migrations scripts are corrupt. So you need to do the following steps:

  1. Delete the migrations folder inside your app

  2. Then run makemigrations

    python manage.py makemigrations
    
  3. Apply the changes to DB

    python manage.py migrate
    
about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda