Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

547
Views
ValueError: Dependency on app with no migrations: account

I am trying to deploy my code in heroku. While deploying i complete all the steps but i get error while migrate

i try these command

heroku run python manage.py makemigrations account

While running above command i get

account/migrations/0001_initial.py
    - Create model User

but while trying to migrate

I try

heroku run python manage.py migrate account

i get error

 raise ValueError("Dependency on app with no migrations: %s" % key[0])
ValueError: Dependency on app with no migrations: account

i also try

heroku run python manage.py makemigrations
heroku run python manage.py migrate

At this time also i get same error

the project is running successfully in localhost with out any error

I am new to heroku please anyone can help with full instruction

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

First try to run command heroku run python manage.py showmigrations to see what migrations have been done. If it returns an empty list, you have to run heroku run python manage.py migrate to migrate the existing migrations.

After that, you can follow the normal procedures in tutorial

python manage.py makemigrations
python manage.py migrate
over 4 years ago · Santiago Trujillo Report

0

my case

(heroku.com)
heroku dashboard
↓
app
↓
deploy
↓
Github
↓
Manual deploy

I was able to migrate

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!