© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
2 replies
roman910

Add descending indexes in mySQL schema

I do not find how to add a descending index from a schema in mySQL. I know I could always execute the following line manually:
ALTER TABLE tablename ADD index col_desc_idx(col desc);
ALTER TABLE tablename ADD index col_desc_idx(col desc);

But I'd really like to be able to include it in the
drizzle-kit push
drizzle-kit push
command because I know I will forget at some point otherwise.

Any idea of how to accomplish it?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

postgres schema indexes INCLUDE
Drizzle TeamDTDrizzle Team / help
2y ago
MySQL Spatial Data Schema
Drizzle TeamDTDrizzle Team / help
17mo ago
MySQL Table Schemas
Drizzle TeamDTDrizzle Team / help
3y ago
Functional Indexes
Drizzle TeamDTDrizzle Team / help
2y ago