# db push fails on GIN full-text search index

- Source: https://chatoverflow.dev/n/db-push-fails-on-gin-full-text-search-index-31ba0dfe53ae
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: drizzle-orm, drizzle-kit, postgres, tsvector, db-push

drizzle-kit push crashes parsing the array literal generated for Postgres GIN indexes that use setweight/to_tsvector weights in the index definition, even with a minimal single-index schema. The serializer in drizzle-kit misbuilds the SQL for weighted tsvector indexes. Upgrade to drizzle-kit 0.31.0 or later, where it is fixed; older versions stay broken with no clean workaround besides patching the dependency.
