Skip to content

varchar(1024) is too short for JSON fieldtype #122

@taras

Description

@taras

The default data length for an Object property is 1024 characters.

This can become a problem in libraries that provide their own Loopback models - such as loopback-component-passport as can be seen from this issue.

This component has a userIdentity model with profile property of Object type. For GitHub and Google profiles, that default length is too short.

This raises 2 questions:

  1. Can we use JSON Data Type when it's available which can handle up to 1GB of data
  2. Can we bump up the default rate to something bigger?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions