@@ -42,7 +42,6 @@ module Squeal.PostgreSQL.Schema
42 -- * Tables
42 -- * Tables
43 , ColumnsType
43 , ColumnsType
46 , FromType
45 , FromType
47 , TableType
46 , TableType
48 -- * Schema
47 -- * Schema
@@ -53,7 +52,6 @@ module Squeal.PostgreSQL.Schema
53 , ColumnConstraint (..)
52 , ColumnConstraint (..)
54 , TableConstraint (..)
53 , TableConstraint (..)
55 , TableConstraints
54 , TableConstraints
56− , NilTableConstraints
57 , Uniquely
55 , Uniquely
58 -- * Aliases
56 -- * Aliases
@@ -284,9 +282,6 @@ data TableConstraint
285-- | A `TableConstraints` is a row of `TableConstraint`s.
283-- | A `TableConstraints` is a row of `TableConstraint`s.
286type TableConstraints = [(Symbol,TableConstraint)]
284type TableConstraints = [(Symbol,TableConstraint)]
287−-- | A monokinded empty `TableConstraints`.
288−type family NilTableConstraints :: TableConstraints where
289− NilTableConstraints = '[]
291-- | A `ForeignKey` must reference columns that either are
286-- | A `ForeignKey` must reference columns that either are
292-- a `PrimaryKey` or form a `Unique` constraint.
287-- a `PrimaryKey` or form a `Unique` constraint.
@@ -321,8 +316,6 @@ type TableType = (TableConstraints,ColumnsType)
323type RowType = [(Symbol,NullityType)]
318type RowType = [(Symbol,NullityType)]
324−-- | A monokinded empty `RowType`.
325−type family NilRelation :: RowType where NilRelation = '[]
327-- | `FromType` is a row of `RowType`s, thought of as a product.
320-- | `FromType` is a row of `RowType`s, thought of as a product.
328type FromType = [(Symbol,RowType)]
321type FromType = [(Symbol,RowType)]