updated length param for MySQL support, unique fields require it