#26437: Command "makemigrations" don't create migration if non abstract class empty ----------------------------------------------+-------------------- Reporter: Atterratio | Owner: nobody Type: Uncategorized | Status: new Component: Database layer (models, ORM) | Version: 1.9 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------------------------+-------------------- I have some code like this: {{{ class MyModel(models.Model): pass }}}
I expect, that it create table with fields of parrent class. If I run "makemigrations" in output I have "No changes detected", but "migrate --run-syncdb" create tabels. -- Ticket URL: <https://code.djangoproject.com/ticket/26437> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/053.f772857588cb7dd599304402c567aeb3%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.