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 ad4ddd4 commit d99bf7cCopy full SHA for d99bf7c
drizzle-kit/src/serializer/pgSerializer.ts
@@ -1257,7 +1257,8 @@ WHERE
1257
WHERE
1258
tc.table_name = '${tableName}'
1259
AND tc.constraint_schema = '${tableSchema}'
1260
- AND tc.constraint_type = 'CHECK';`);
+ AND tc.constraint_type = 'CHECK'
1261
+ AND con.contype = 'c';`);
1262
1263
columnsCount += tableResponse.length;
1264
if (progressCallback) {
0 commit comments