Fixes #6824 Add ROW_FORMAT support to mysql query-generator (#6825)
* Add ROW_FORMAT support to mysql query-generator InnoDB's new Barracuda file format offers 2 new types of row formats which offer significant improvements if working with utf8mb4 collation by supporting index key prefixes up to 3072 bytes instead of the default of 767 bytes offered with COMPACT or REDUNDANT row types offered in the legacy Antelope file format. This commit adds `ROW_FORMAT` support to the query-generator for the mysql dialect by adding `options.format` for sequelize.define(). * Add tests for overrides global format option and inherits global format option * Fix row-format test to use correct assert * Add explicit test for options.format to SQL ROW_FORMAT * Fix incorrect assert causing failing tests on row_format for options.format * Correct changelog issue/hash to point to the same place. * Rename options.format to options.rowFormat * Fix missed format to rowFormat variable name
Showing
with
22 additions
and
2 deletions
-
Please register or sign in to post a comment