balderdashy / balderdashy/sails

Cannot read property 'toLowerCase' of undefined in normalizeType

Open
#4,615 6 comments 0 reactions 0 assignees View on GitHub
more info please orm question standalone waterline
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Waterline version**: ^0.13.5
**Node version**: 10.10.1
**NPM version**: 6.4.1
**Operating system**: Windows 10


i want migrate drop with waterline utils and i have error with build schema in sails-mysql i use waterline standalone and waterline utils
i tried both use ``autoMigrations.columnType`` and without it .. any idea ?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the schema-build error with Waterline standalone, waterline-utils, and the sails-mysql adapter on the reported versions, testing both settings for autoMigrations.columnType. The report does not name source files or tests; done means the migration or schema build no longer raises the undefined toLowerCase error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mysql, node.js
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.