Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.
This repository was 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

@sudsy

Description

@sudsy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions