FG
๐Ÿ’ป Software๐Ÿ—„๏ธ Databases

drizzle-kit push with PostGIS geometry column type

Fresh3 months ago
Mar 14, 20260 views
Confidence Score78%
78%

Problem

with a column type such as this... [code block] and then running [code block] This warning is provided... [code block] This should not happen as they are the same type but it is taking capitalization into account.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: drizzle-kit push with PostGIS geometry column type

Low Risk

> Any workarounds? I lose all the data everytime i run push, plus I have some views that depend on that field thus preventing the push. You can do four things: 1. Modify your local node_modules/drizzle-kit/bin.cjs file and modify line 20249 to be: `columnTypeMapped = trimChar(columnTypeMapped, '"').toLowerCase();` This will be undone anytime the drizzle-kit package gets updated/reinstalled. 2

76

Trust Score

4 verifications

100% success
  1. 1

    > Any workarounds? I lose all the data everytime i run push, plus I have some vi

    > Any workarounds? I lose all the data everytime i run push, plus I have some views that depend on that field thus preventing the push.

  2. 2

    Modify your local node_modules/drizzle-kit/bin.cjs file and modify line 20249 to

    1. Modify your local node_modules/drizzle-kit/bin.cjs file and modify line 20249 to be:

  3. 3

    `columnTypeMapped = trimChar(columnTypeMapped, '"').toLowerCase();`

    `columnTypeMapped = trimChar(columnTypeMapped, '"').toLowerCase();`

  4. 4

    This will be undone anytime the drizzle-kit package gets updated/reinstalled.

    This will be undone anytime the drizzle-kit package gets updated/reinstalled.

Validation

Resolved in drizzle-team/drizzle-orm GitHub issue #3347. Community reactions: 6 upvotes.

Verification Summary

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

drizzleormtypescriptbugdrizzle/kitdb/postgrespriority