Context
The slot is already reserved in extractors/index.ts (// new DrizzleExtractor()), documented as next in the fallback order right after Prisma.
Scope
Parse Drizzle schema files (pgTable / mysqlTable / sqliteTable calls, typically schema.ts or db/schema/*.ts) via ts-morph AST. Extract table name, columns as FieldInfo, relations from the relations() helper / references() foreign keys.
Acceptance criteria
Context
The slot is already reserved in
extractors/index.ts(// new DrizzleExtractor()), documented as next in the fallback order right after Prisma.Scope
Parse Drizzle schema files (
pgTable/mysqlTable/sqliteTablecalls, typicallyschema.tsordb/schema/*.ts) via ts-morph AST. Extract table name, columns asFieldInfo, relations from therelations()helper /references()foreign keys.Acceptance criteria
canHandle()detects Drizzle schema files (import fromdrizzle-orm)extract()returns fields with correctisRelation/isList/isOptionalSQLExtractor, belowPrismaExtractorsourceunion extended with"drizzle"