Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a custom mysql backend and use it
* Add a custom MySQL database backend based on django.db.backends.mysql, overriding only the sql_create_table template to add ROW_FORMAT=DYNAMIC in all CREATE TABLE statements to support indexes larger than 767 characters. This requires also that the MySQL server is configured with: innodb_file_per_table = 1 innodb_file_format = barracuda innodb_large_prefix = 1 unless it's a recent enough version in which those are the defaults. * Use the custom MySQL backend instead of the Django's one. Bug: T167504 Change-Id: Ia83844d7ca3e2c9afd9640d6319e9bca5623deef
- Loading branch information