theodor
Explore posts from serversDTDrizzle Team
•Created by theodor on 11/28/2023 in #help
Index not being created in table
Hi! I'm using
drizzle-kit push:pg
to update my local dev database. When I use this command, indices with shared names (e.g. updated_at_idx
) only get created on the first table in the schema.ts
.
For example, if I have:
and:
The created_at
and updated_at
indices on conversations
will NOT be created.
I noticed that the SQL gets generated correctly if I generate the migration.1 replies