drizzle-team / drizzle-team/drizzle-orm

MySQL - Introspection changes int(11) to int, causing truncation on push

Open
#3,314 3 comments 0 reactions 1 assignee Claimed by @AndriiSherman View on GitHub
db/mysql drizzle/kit improvement priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

My db has a lot of int(11) in it. When pulling, it gets set as int(""). But when pushing it back with changes, the CLI warns that the int(11) will be changed to int, which will truncate the tables.

Is there any solution for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.