codestates / codestates/Subllet

[ERR] Error: Data too long for column 'profile' at row 1

Open
#185 0 comments 0 reactions 1 assignee Claimed by @ionc635 View on GitHub
ERR
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 어떤 에러인가요?
- 삽입하는 프로필의 데이터가 수용 가능한 데이터 크기보다 크기 때문에 발생한 에러입니다.
### 에러 메시지
```shell
$ Error: Data too long for column 'profile' at row 1
```

### 에러 핸들링 방법
- 기존 profile column의 수용 가능한 데이터 크기를 아래와 같이 늘려줬습니다.

```js
profile: {
type: Sequelize.STRING(1234),
},
```

### 에러 핸들링을 위해 참고한 레퍼런스 링크
[링크](https://sequelize.org/v5/manual/data-types.html)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.