diff --git a/packages/generator/src/generator.ts b/packages/generator/src/generator.ts index ad806c9..42cc42d 100644 --- a/packages/generator/src/generator.ts +++ b/packages/generator/src/generator.ts @@ -156,6 +156,7 @@ function writeModule(basePath: string, module: Module) { function getAdapter(options: GeneratorOptions) { return (() => { switch (options.datasources[0].provider) { + case 'cockroachdb': // CockroahDB should be postgres compatible case 'postgres': case 'postgresql': return postgresAdapter