gmaclennan
gmaclennan
DTDrizzle Team
Created by gmaclennan on 8/5/2023 in #help
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 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.
3 replies