#30773: Support Algorithm parameter on MySQL migrations. ---------------------------------------+------------------------ Reporter: mklauber | Owner: nobody Type: New feature | Status: new Component: Migrations | Version: master Severity: Normal | Keywords: mysql Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ---------------------------------------+------------------------ See: https://mysqlserverteam.com/mysql-8-0-innodb-now-supports-instant- add-column/
Mysql now supports (as of 8.0) a new ALGORITHM = INSTANT, that prevents long running DDL statements. It would be useful to be able to define this on migrations, to prevent table locking, without having to manually write every migration. Perhaps as an option on the database in the DATABASES setting dict? -- Ticket URL: <https://code.djangoproject.com/ticket/30773> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/051.fb771e7e9f13ae34bae40f5f07325505%40djangoproject.com.