Waavi / translation

Better translation management for Laravel
MIT License
359 stars 167 forks source link

Update 2013_07_25_145958_create_translations_table.php #168

Closed Balakir closed 4 years ago

Balakir commented 4 years ago

Add length limiters for namespace, group and item.

This fixes an issue where the index will fail creation on a utf8mb4_unicode_ci collation as the max length is 3,072 bytes and the current gives us 3,084 bytes ((255+255+255+6) * 4) from the four columns used in the index.