@@ -1183,8 +1183,8 @@ fixarray p ty = UnsafeTypeExpression $
11831183-- | used in `createTable` commands as a column constraint to ensure
11841184-- @NULL@ is not present
11851185notNull
1186− :: TypeExpression (constraints :=> 'Null ty)
1187− -> TypeExpression (constraints :=> 'NotNull ty)
1186+ :: TypeExpression (def :=> 'Null ty)
1187+ -> TypeExpression (def :=> 'NotNull ty)
11881188notNull ty = UnsafeTypeExpression $ renderTypeExpression ty <+> "NOT NULL"
11891189
11901190-- | used in `createTable` commands as a column constraint to give a default