Skip to content

Commit 8538ed0

Browse files
authored
feat(tags): allow smart tags to indicate a column has a default (#760)
1 parent f2862a1 commit 8538ed0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/graphile-build-pg/src/plugins/PgColumnsPlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ end
255255
attr.type.domainHasDefault) &&
256256
!attr.tags.notNull) ||
257257
attr.hasDefault ||
258+
attr.tags.hasDefault ||
258259
attr.identity === "d",
259260
pgGetGqlInputTypeByTypeIdAndModifier(
260261
attr.typeId,

0 commit comments

Comments
 (0)