From 7010e7c3b04dfbcd0d5d70c9e2f7ae398e9c5516 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 11 Jan 2012 07:21:57 +0200 Subject: [PATCH] Export Entity --- persistent-postgresql/Database/Persist/Postgresql.hs | 2 +- persistent-sqlite/Database/Persist/Sqlite.hs | 2 +- persistent/Database/Persist.hs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/persistent-postgresql/Database/Persist/Postgresql.hs b/persistent-postgresql/Database/Persist/Postgresql.hs index 0900a3a85..c50fecb34 100644 --- a/persistent-postgresql/Database/Persist/Postgresql.hs +++ b/persistent-postgresql/Database/Persist/Postgresql.hs @@ -14,7 +14,7 @@ module Database.Persist.Postgresql , PG.ConnectInfo(..) ) where -import Database.Persist +import Database.Persist hiding (Entity (..)) import Database.Persist.Store import Database.Persist.GenericSql hiding (Key(..)) import Database.Persist.GenericSql.Internal diff --git a/persistent-sqlite/Database/Persist/Sqlite.hs b/persistent-sqlite/Database/Persist/Sqlite.hs index b36ed5e65..1dcbb587c 100644 --- a/persistent-sqlite/Database/Persist/Sqlite.hs +++ b/persistent-sqlite/Database/Persist/Sqlite.hs @@ -11,7 +11,7 @@ module Database.Persist.Sqlite , SqliteConf (..) ) where -import Database.Persist +import Database.Persist hiding (Entity (..)) import Database.Persist.Store import Database.Persist.EntityDef import Database.Persist.GenericSql hiding (Key(..)) diff --git a/persistent/Database/Persist.hs b/persistent/Database/Persist.hs index 995a5d936..6fa26c9cc 100644 --- a/persistent/Database/Persist.hs +++ b/persistent/Database/Persist.hs @@ -6,6 +6,7 @@ module Database.Persist , PersistStore (..) , PersistUnique (..) , Key (..) + , Entity (..) , insertBy , getJust , belongsTo