Thanks to visit codestin.com
Credit goes to github.com

Skip to content

make index a noop for unindexable fields in mysql #377

@calvinmetcalf

Description

@calvinmetcalf

text and blob types that don't have length are unindexable in mysql so something like

table.text('foo').index();

will through an error in mysql but not postgres or sqlite, might be nice for in that situation either

  • noop
  • print a warning
  • allow a parameter to be passed to make it a noop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions