@@ -71,6 +71,7 @@ module Squeal.PostgreSQL.Schema
7171 , SameFields
7272 -- * PostgreSQL Constraints
7373 , (:=>)
74+ , Unconstrain
7475 , ColumnConstraint (..)
7576 , DropDefault
7677 , DropDefaultList
@@ -334,6 +335,9 @@ type family SameFields
334335
335336type (:=>) constraints ty = '(AsSet constraints,ty)
336337
338+type family Unconstrain constrained where
339+ Unconstrain '(constraints, ty) = '( '[], ty)
340+
337341data ColumnConstraint
338342 = Default
339343 | Unique