@@ -42,7 +42,6 @@ module Squeal.PostgreSQL.Schema
4242 -- * Tables
4343 , ColumnsType
4444 , RowType
45− , NilRelation
4645 , FromType
4746 , TableType
4847 -- * Schema
@@ -53,7 +52,6 @@ module Squeal.PostgreSQL.Schema
5352 , ColumnConstraint (..)
5453 , TableConstraint (..)
5554 , TableConstraints
56− , NilTableConstraints
5755 , Uniquely
5856 -- * Aliases
5957 , (:::)
@@ -284,9 +282,6 @@ data TableConstraint
284282
285283-- | A `TableConstraints` is a row of `TableConstraint`s.
286284type TableConstraints = [(Symbol,TableConstraint)]
287−-- | A monokinded empty `TableConstraints`.
288−type family NilTableConstraints :: TableConstraints where
289− NilTableConstraints = '[]
290285
291286-- | A `ForeignKey` must reference columns that either are
292287-- a `PrimaryKey` or form a `Unique` constraint.
@@ -321,8 +316,6 @@ type TableType = (TableConstraints,ColumnsType)
321316-- ]
322317-- :}
323318type RowType = [(Symbol,NullityType)]
324−-- | A monokinded empty `RowType`.
325−type family NilRelation :: RowType where NilRelation = '[]
326319
327320-- | `FromType` is a row of `RowType`s, thought of as a product.
328321type FromType = [(Symbol,RowType)]