Remove an index that is no longer needed.
Section: Indexes and Constraints
Drop index
sql
sql
DROP INDEX IF EXISTS idx_orders_open_only;Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Indexes and Constraints