problem description
in django2.0, add fields to the existing models, then migrations creates the table, uses the migrate Synchronize database, prompts "No changes detected", and then according to Baidu, Google search, according to the online method, delete the migrations folder, delete the database django_migrations field, the re-creation prompt is successful, but there are still no forms created in the database.
finally, prepare to create a new database, re-create the table in the new database, and then migrate the data to the new database. Using the above command in the new database, it is found that the table still cannot be created. Every time you are prompted to create successfully, there is still no new table created in the database.
then use sqlmigrate lookup and find that there are no sql statements to build the table. Google Baidu again, found that there is almost no information, perplexed for many days, can not be solved. I"d like to ask a question here.
migrationsdjango_migrations
migrations