Mysql database bug
franta opened this issue · comments
Please change lengths 256 to 255, with 256, primary key creation raise arror and mysql dont work:
mysql> CREATE TABLE sharejs.snapshots (
-> doc varchar(256) NOT NULL,
-> v int NOT NULL,
-> type varchar(256) NOT NULL,
-> snapshot text NOT NULL,
-> meta text NOT NULL,
-> created_at timestamp NOT NULL,
-> CONSTRAINT snapshots_pkey PRIMARY KEY (doc, v)
-> )
-> ;
ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
Hello,
This is Daniel—you just sent me an e-mail. However, the address you sent that e-mail to is no longer in use, as Nintera(ctive) is no longer active (pun intended).
"Drop" is the mothership hovering over all my current activity. You may visit our website at madebydrop.com, and you can reach me at mrnordstrom@me.com for personal matters, and d@madebydrop.com for business inquiries.
Talk to you soon,
Daniel Nordstrom