I was trying to create migrations within an existing app using the makemigrations command but it outputs "No changes detected".
Usually I create new apps using the startapp
command but did not use it for this app when I created it.
After debugging, I found that it is not creating migration because the migrations
package/folder is missing from an app.
Would it be better if it creates the folder if it is not there or am I missing something?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…