Fix ServiceBuilder MySQL 5.6 indexes generation compatibility issue.
- Make ServiceBuilder to keep the String type columns' length info inside the generated generic indexes sql file, in order to provide context info to BaseDB and all its sub-classes to do proper index length restriction.
- Turn on mysql String type column index length restriction, set length to 255 according to MySQL 5.6's doc http://dev.mysql.com/doc/refman/5.6/en/innodb-restrictions.html
- New property:
- After the fix, indexes.sql files will contain a placeholder like [$COLUMN_LENGTH:75$ which will be replaced to the actual max length (configured in portal properties) run time.
- After removing this fix, your custom plugin's service layer has to be regenerated.