© 2026 Hedgehog Software, LLC

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

JS API for generating CREATE TABLE sql?

I saw a message that a JS API is coming for drizzle-kit, which will be great. In the meantime is there an existing method to generate the
CREATE TABLE
CREATE TABLE
sql from table schemas?
My use-case: I'm writing tests, for which I would normally use an in-memory sqlite database, but I need to generate the tables in the DB as I would with
drizzle-kit push
drizzle-kit push
.
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

SQLean's uuid4() in SQLite CREATE TABLE
Drizzle TeamDTDrizzle Team / help
2y ago
Wrong migration SQL generating
Drizzle TeamDTDrizzle Team / help
2y ago
Get `CREATE TABLE ...` SQL from a schema
Drizzle TeamDTDrizzle Team / help
14mo ago
get table's CREATE sql with Drizzle
Drizzle TeamDTDrizzle Team / help
2y ago