@@ -46,7 +46,6 @@ module Squeal.PostgreSQL.Definition
4646import Control.Category
4747import Control.DeepSeq
4848import Data.ByteString
49−import Data.Data
5049import Data.Monoid
5150import Generics.SOP
5251import GHC.TypeLits
@@ -66,7 +65,7 @@ newtype Definition
6665 (schema0 :: TablesType)
6766 (schema1 :: TablesType)
6867 = UnsafeDefinition { renderDefinition :: ByteString }
69− deriving (GHC.Generic,Show,Eq,Ord,Data,NFData)
68+ deriving (GHC.Generic,Show,Eq,Ord,NFData)
7069
7170instance Category Definition where
7271 id = UnsafeDefinition ";"
@@ -102,7 +101,7 @@ newtype TableConstraint
102101 (schema :: TablesType)
103102 (columns :: ColumnsType)
104103 = UnsafeTableConstraint { renderTableConstraint :: ByteString }
105− deriving (GHC.Generic,Show,Eq,Ord,Data,NFData)
104+ deriving (GHC.Generic,Show,Eq,Ord,NFData)
106105
107106check
108107 :: Condition '[table ::: columns] 'Ungrouped '[]
@@ -148,7 +147,7 @@ data OnDelete
148147 = OnDeleteNoAction
149148 | OnDeleteRestrict
150149 | OnDeleteCascade
151− deriving (GHC.Generic,Show,Eq,Ord,Data)
150+ deriving (GHC.Generic,Show,Eq,Ord)
152151instance NFData OnDelete
153152
154153renderOnDelete :: OnDelete -> ByteString
@@ -161,7 +160,7 @@ data OnUpdate
161160 = OnUpdateNoAction
162161 | OnUpdateRestrict
163162 | OnUpdateCascade
164− deriving (GHC.Generic,Show,Eq,Ord,Data)
163+ deriving (GHC.Generic,Show,Eq,Ord)
165164instance NFData OnUpdate
166165
167166renderOnUpdate :: OnUpdate -> ByteString
@@ -208,7 +207,7 @@ newtype AlterTable
208207 (columns0 :: ColumnsType)
209208 (columns1 :: ColumnsType) =
210209 UnsafeAlterTable {renderAlterTable :: ByteString}
211− deriving (GHC.Generic,Show,Eq,Ord,Data,NFData)
210+ deriving (GHC.Generic,Show,Eq,Ord,NFData)
212211
213212addColumnDefault
214213 :: KnownSymbol column
@@ -251,7 +250,7 @@ alterColumn column alteration = UnsafeAlterTable $
251250
252251newtype AlterColumn (ty0 :: ColumnType) (ty1 :: ColumnType) =
253252 UnsafeAlterColumn {renderAlterColumn :: ByteString}
254− deriving (GHC.Generic,Show,Eq,Ord,Data,NFData)
253+ deriving (GHC.Generic,Show,Eq,Ord,NFData)
255254
256255setDefault
257256 :: Expression '[] 'Ungrouped '[] ('Required ty)