Estoy tratando de implementar mi código en heroku. Durante la implementación, completo todos los pasos, pero aparece un error al migrar
intento estos comandos
heroku run python manage.py makemigrations accountMientras ejecuto el comando anterior, obtengo
account/migrations/0001_initial.py - Create model Userpero al tratar de migrar
lo intento
heroku run python manage.py migrate accountme sale error
raise ValueError("Dependency on app with no migrations: %s" % key[0]) ValueError: Dependency on app with no migrations: accountyo también intento
heroku run python manage.py makemigrations heroku run python manage.py migrateEn este momento también recibo el mismo error.
el proyecto se ejecuta correctamente en localhost sin ningún error
Soy nuevo en heroku, por favor, cualquiera puede ayudar con instrucciones completas.
Primero intente ejecutar el comando heroku run python manage.py showmigrations para ver qué migraciones se han realizado. Si devuelve una lista vacía, debe ejecutar heroku run python manage.py migrate para migrar las migraciones existentes.
Después de eso, puede seguir los procedimientos normales en el tutorial.
python manage.py makemigrations python manage.py migratemi caso
(heroku.com)
panel de heroku
↓
aplicación
↓
desplegar
↓
Github
↓
Despliegue manual
pude migrar