summaryrefslogtreecommitdiff
path: root/src/Database/Relational/Schema/PgCatalog/PgConstraint.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Database/Relational/Schema/PgCatalog/PgConstraint.hs')
-rw-r--r--src/Database/Relational/Schema/PgCatalog/PgConstraint.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Database/Relational/Schema/PgCatalog/PgConstraint.hs b/src/Database/Relational/Schema/PgCatalog/PgConstraint.hs
index 9ce60fd..c18dda6 100644
--- a/src/Database/Relational/Schema/PgCatalog/PgConstraint.hs
+++ b/src/Database/Relational/Schema/PgCatalog/PgConstraint.hs
@@ -1,9 +1,10 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE DeriveGeneric #-}
-- |
-- Module : Database.Relational.Schema.PgCatalog.PgConstraint
--- Copyright : 2013 Kei Hibino
+-- Copyright : 2013-2017 Kei Hibino
-- License : BSD3
--
-- Maintainer : ex8k.hibino@gmail.com
@@ -11,8 +12,8 @@
-- Portability : unknown
module Database.Relational.Schema.PgCatalog.PgConstraint where
+import GHC.Generics (Generic)
import Data.Int (Int32)
-
import Database.Relational.Query.TH (defineTableTypesAndRecord)
import Database.Relational.Schema.PgCatalog.Config (config)
@@ -48,4 +49,4 @@ $(defineTableTypesAndRecord config
-- conbin | pg_node_tree |
-- consrc | text |
]
- [''Show])
+ [''Show, ''Generic])