Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How do you get create table statement given a specific pgTable programmatically? - Drizzle Team
DT
Drizzle Team
โข
3y ago
โข
1 reply
tonyx
How do you get create table statement given a specific pgTable programmatically?
Seems that using drizzle
-kit and migration file generation is required
.
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Programmatically get columns from table
DT
Drizzle Team / help
2y ago
Get `CREATE TABLE ...` SQL from a schema
DT
Drizzle Team / help
14mo ago
How do you create a scalar subquery in drizzle?
DT
Drizzle Team / help
3y ago
Programmatically pull table schema (Postgres)
DT
Drizzle Team / help
2mo ago