Closed hjin-me closed 10 years ago
Mysql::Error: Specified key was too long; max key length is 767 bytes: CREATE INDEX
above error occur when
false
utf-8
id
primary key
string
i think should use varchar(255) instead varchar(256) in model / lib / generators / sql.js
varchar(255)
varchar(256)
model / lib / generators / sql.js
Fixed in 0b21c5591445acb3b461179fe5bbc88c7eea82b2, pushed to NPM in v0.4.5. Thanks!
Mysql::Error: Specified key was too long; max key length is 767 bytes: CREATE INDEX
above error occur when
false
utf-8
.id
isprimary key
id
isstring
i think should use
varchar(255)
insteadvarchar(256)
inmodel / lib / generators / sql.js