Project: bamboo
Issue BAM-10090: Indexing problem in table USER_COMMIT because of column COMMIT_REVISION text type
This error happens because the column COMMIT_REVISION in the table USER_COMMIT is set to TEXT, {code} 2011-10-24 12:06:05,071 ERROR [main] [SchemaUpdate] Unsuccessful: create index commit_rev_idx on USER_COMMIT (COMMIT_REVISION) 2011-10-24 12:06:05,071 ERROR [main] [SchemaUpdate] BLOB/TEXT column 'COMMIT_REVISION' used in key specification without a key length {code} There is a limitation on indexing [TEXT type fields|http://stackoverflow.com/questions/1827063/mysql-error-key-specification-without-a-key-length]. As [this post|http://forums.mysql.com/read.php?98,37000,37052] states, we can have VARCHAR type with maximum 65,532 bytes after MySQL 5.0.3. We should change the column type from TEXT to VARCHAR.
Story points: 2