codebreach commented on issue #6718: URL: https://github.com/apache/incubator-devlake/issues/6718#issuecomment-1880142452
ran the following command and should work around. please note that theres a max key length of 3072 bytes (by default?) which means the max length of the id column can only be 3072/4 ~ 767 characters ascii ```log mysql> ALTER TABLE refs MODIFY COLUMN id VARCHAR(10240); ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes mysql> ALTER TABLE refs MODIFY COLUMN id VARCHAR(3072); ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes mysql> ALTER TABLE refs MODIFY COLUMN id VARCHAR(3071); ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes mysql> ALTER TABLE refs MODIFY COLUMN id VARCHAR(767); Query OK, 0 rows affected (0.35 sec) Records: 0 Duplicates: 0 Warnings: 0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org