Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Specifying single schema to push - Drizzle Team
DT
Drizzle Team
•
3y ago
Samsterism
Specifying single schema to push
Hello
:
I
'm hoping to push a single schema to the database after dropping the table
. This way I can start over on this table but the rest of the tables are untouched
.
I
'm trying the following in the terminal
:
npx drizzle
-kit
p
u
s
h
:pg
-
-schema
=
.
/server
/api
/schemas
/mytableschema
.ts
Drizzle returns this error
:
Invalid input Only
"pg
" is available options for
"
-
-driver
"
The docs suggest this is possible but I
'm not sure
https://orm.drizzle.team/kit-docs/commands#prototype--push
Thanks
!
List of commands - DrizzleORM
Drizzle ORM
|
%s
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Specifying foreign key names in Schema
DT
Drizzle Team / help
3y ago
Multi-App Single-Schema
DT
Drizzle Team / help
3y ago
Issue Pushing Schema to Turso
DT
Drizzle Team / help
3y ago
try to push : schema "XXX" does not exist
DT
Drizzle Team / help
12mo ago