aboutsummaryrefslogtreecommitdiff
path: root/Database
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-04 14:00:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-04 14:00:54 -0400
commit1e06157ead17eb9cb2b59f7bf84cb4da6f10e8bb (patch)
treea490f0dfda35273fa615a5df2aa1a249c88a0ff1 /Database
parent5083bca3809b27b6f9faddbefcbdc93b3ccd8226 (diff)
flush queued changes to export db on exit
Diffstat (limited to 'Database')
-rw-r--r--Database/Export.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Database/Export.hs b/Database/Export.hs
index bc79af29f..e2986d075 100644
--- a/Database/Export.hs
+++ b/Database/Export.hs
@@ -30,7 +30,7 @@ import Types.Remote (ExportLocation(..))
import Database.Persist.TH
import Database.Esqueleto hiding (Key)
-data ExportHandle = ExportHandle H.DbQueue
+newtype ExportHandle = ExportHandle H.DbQueue
share [mkPersist sqlSettings, mkMigrate "migrateExport"] [persistLowerCase|
Exported