on dev help sign in
small fix
c01e7d4Eitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL/Definition.hs+1−1
@@ -569,5 +569,5 @@ dropNotNull = UnsafeAlterColumn $ "DROP NOT NULL"
569-- in renderDefinition definition
569-- in renderDefinition definition
570-- :}
570-- :}
571-- "ALTER TABLE tab ALTER COLUMN col TYPE numeric NOT NULL;"
571-- "ALTER TABLE tab ALTER COLUMN col TYPE numeric NOT NULL;"
572−alterType :: TypeExpression ty -> AlterColumn ty0 ty1
572+alterType :: TypeExpression ty -> AlterColumn ty0 ty
573alterType ty = UnsafeAlterColumn $ "TYPE" <+> renderTypeExpression ty
573alterType ty = UnsafeAlterColumn $ "TYPE" <+> renderTypeExpression ty