﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
580	Unique key for crop_trait_observation / crop_trait_observation_data too long	bweaver	bweaver	"To make sure the latest AT changes for Oracle did not adversely affect all engines, I went to install the latest db in mysql and postgresql.  Mysql install failed due to unique key being to long for crop_trait_observation.  I'm assuming crop_trait_observation_data will be too long as well.

Mysql max unique key length is 767 bytes.  Actual character count varies since we use UTF8 (which is a multibyte character set, and the amount of bytes a character uses can be between 1 and 3 depending on which character it is).

We need to shorten at least one of the fields so the unique key is under the 767 length restriction.

SQL Server's length restriction is 900 bytes, which is why we haven't run into this since the last round of db testing (we added this unique key since then).  Mysql is the shortest allowed length of 767."	defect	released	blocker	Release Candidate 3	Database, Data Updates	2.0.1600					N/A	N/A
