79574884

Date: 2025-04-15 10:13:08
Score: 0.5
Natty:
Report link

Not to be exactly your problem but mine was the order of migration files. I renamed the migration files so the first one was the foreign table and the second one was the main table. As below:

  1. migrations/xxxxxxxxxxxxx1-create-userstatus.js

  2. migrations/xxxxxxxxxxxxx2-create-users.js

and when I ran the db:migrate, everything was successful.

Reasons:
  • Has code block (-0.5):
  • Filler text (0.5): xxxxxxxxxxxxx
  • Filler text (0): xxxxxxxxxxxxx
  • Low reputation (0.5):
Posted by: Alireza Bijantabar