We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f69aa8 commit 9288755Copy full SHA for 9288755
packages/schema/src/plugins/prisma/schema-generator.ts
@@ -82,7 +82,7 @@ import {
82
const MODEL_PASSTHROUGH_ATTR = '@@prisma.passthrough';
83
const FIELD_PASSTHROUGH_ATTR = '@prisma.passthrough';
84
const PROVIDERS_SUPPORTING_NAMED_CONSTRAINTS = ['postgresql', 'mysql', 'cockroachdb'];
85
-const PROVIDERS_SUPPORTING_TYPEDEF_FIELDS = ['postgresql'];
+const PROVIDERS_SUPPORTING_TYPEDEF_FIELDS = ['postgresql', 'sqlite'];
86
87
// Some database providers like postgres and mysql have default limit to the length of identifiers
88
// Here we use a conservative value that should work for most cases, and truncate names if needed
0 commit comments