Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

SequelizeDatabaseError: BLOB/TEXT column 'name' used in key specification without a key length #3

Open
sudsy opened this issue Sep 11, 2018 · 0 comments

Comments

@sudsy
Copy link

sudsy commented Sep 11, 2018

This error happens when synchronising the Books Model against MariaDB/ MySQL.

MySQL doesn't support indexing unlimited text fields.

I propose changing it to a STRING datatype which will limit to 255 characters in length.

sudsy added a commit to sudsy/ale that referenced this issue Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant