© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
cannot drop index (beta 17) - Drizzle Team
DT
Drizzle Team
•
2w ago
•
1 reply
Mads
cannot drop index (beta 17)
🛠️
drizzle kit
I am suddenly receiving this error
Using
'
@planetscale
/database
' driver for database querying
[
✓
] Pulling schema from database
.
.
.
┌
─
─ query error
: target
: codriver
.
-
.primary
: vttablet
: rpc error
: code
= Unknown desc
= Cannot drop index
'fleet
_cars
_lead
_fk
'
: needed in a foreign key constraint
(errno 1553
)
(sqlstate HY000
)
(CallerID
: z7xmnlaay1s1xegod6aw
)
: Sql
:
"alter table customer
_fleet
_cars drop key fleet
_cars
_lead
_fk
"
, BindVars
:
{REDACTED
}
DROP INDEX
fleet_cars_lead_fk
fleet_cars_lead_fk
ON
customer_fleet_cars
customer_fleet_cars
;
└
─
─
ELIFECYCLE Command failed with exit code 1
.
Happens for all my tables
. Has any other had this issue
? version
: 1
.0
.0
-beta
.17
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Cannot drop index 'PRIMARY' - planetscale
DT
Drizzle Team / help
3y ago
Cannot drop unique index of an empty table in planetscale
DT
Drizzle Team / help
2y ago
Cannot drop index 'idx': needed in a foreign key constraint
DT
Drizzle Team / help
3y ago
Cannot drop primary key
DT
Drizzle Team / help
3y ago